Skip to content

Commit 1eca9ec

Browse files
committed
Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens
Only mgv6 uses the tree functions from treegen.cpp.
1 parent b8a4c95 commit 1eca9ec

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

src/mapgen_flat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
3333
#include "emerge.h"
3434
#include "dungeongen.h"
3535
#include "cavegen.h"
36-
#include "treegen.h"
3736
#include "mg_biome.h"
3837
#include "mg_ore.h"
3938
#include "mg_decoration.h"

src/mapgen_fractal.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
3333
#include "emerge.h"
3434
#include "dungeongen.h"
3535
#include "cavegen.h"
36-
#include "treegen.h"
3736
#include "mg_biome.h"
3837
#include "mg_ore.h"
3938
#include "mg_decoration.h"

src/mapgen_v5.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
3333
#include "emerge.h"
3434
#include "dungeongen.h"
3535
#include "cavegen.h"
36-
#include "treegen.h"
3736
#include "mg_biome.h"
3837
#include "mg_ore.h"
3938
#include "mg_decoration.h"

src/mapgen_v7.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
3333
#include "emerge.h"
3434
#include "dungeongen.h"
3535
#include "cavegen.h"
36-
#include "treegen.h"
3736
#include "mg_biome.h"
3837
#include "mg_ore.h"
3938
#include "mg_decoration.h"

src/mapgen_valleys.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
3737
#include "settings.h" // For g_settings
3838
#include "emerge.h"
3939
#include "dungeongen.h"
40-
#include "treegen.h"
4140
#include "mg_biome.h"
4241
#include "mg_ore.h"
4342
#include "mg_decoration.h"

0 commit comments

Comments
 (0)