From 1eca9ecf7d42efde5eec13caeb6e9ad5080ebb35 Mon Sep 17 00:00:00 2001 From: paramat Date: Tue, 4 Apr 2017 06:37:21 +0100 Subject: [PATCH] Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens Only mgv6 uses the tree functions from treegen.cpp. --- src/mapgen_flat.cpp | 1 - src/mapgen_fractal.cpp | 1 - src/mapgen_v5.cpp | 1 - src/mapgen_v7.cpp | 1 - src/mapgen_valleys.cpp | 1 - 5 files changed, 5 deletions(-) diff --git a/src/mapgen_flat.cpp b/src/mapgen_flat.cpp index cc120b58..3c6a112e 100644 --- a/src/mapgen_flat.cpp +++ b/src/mapgen_flat.cpp @@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "dungeongen.h" #include "cavegen.h" -#include "treegen.h" #include "mg_biome.h" #include "mg_ore.h" #include "mg_decoration.h" diff --git a/src/mapgen_fractal.cpp b/src/mapgen_fractal.cpp index a6ed18ae..d48d38b6 100644 --- a/src/mapgen_fractal.cpp +++ b/src/mapgen_fractal.cpp @@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "dungeongen.h" #include "cavegen.h" -#include "treegen.h" #include "mg_biome.h" #include "mg_ore.h" #include "mg_decoration.h" diff --git a/src/mapgen_v5.cpp b/src/mapgen_v5.cpp index b983026e..c7079d22 100644 --- a/src/mapgen_v5.cpp +++ b/src/mapgen_v5.cpp @@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "dungeongen.h" #include "cavegen.h" -#include "treegen.h" #include "mg_biome.h" #include "mg_ore.h" #include "mg_decoration.h" diff --git a/src/mapgen_v7.cpp b/src/mapgen_v7.cpp index 760299fd..c9b6b48e 100644 --- a/src/mapgen_v7.cpp +++ b/src/mapgen_v7.cpp @@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "emerge.h" #include "dungeongen.h" #include "cavegen.h" -#include "treegen.h" #include "mg_biome.h" #include "mg_ore.h" #include "mg_decoration.h" diff --git a/src/mapgen_valleys.cpp b/src/mapgen_valleys.cpp index af29eb3b..32a32eb8 100644 --- a/src/mapgen_valleys.cpp +++ b/src/mapgen_valleys.cpp @@ -37,7 +37,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "settings.h" // For g_settings #include "emerge.h" #include "dungeongen.h" -#include "treegen.h" #include "mg_biome.h" #include "mg_ore.h" #include "mg_decoration.h"