Skip to content

Commit

Permalink
Mapgen: Remove '#include treegen.h' from non-mgv6 mapgens
Browse files Browse the repository at this point in the history
Only mgv6 uses the tree functions from treegen.cpp.
  • Loading branch information
paramat committed Apr 5, 2017
1 parent b8a4c95 commit 1eca9ec
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/mapgen_flat.cpp
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/mapgen_fractal.cpp
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/mapgen_v5.cpp
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/mapgen_v7.cpp
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion src/mapgen_valleys.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit 1eca9ec

Please sign in to comment.