summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/genworld.cpp')
-rw-r--r--src/genworld.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/genworld.cpp b/src/genworld.cpp
index cf50e8eb3..710552eff 100644
--- a/src/genworld.cpp
+++ b/src/genworld.cpp
@@ -26,13 +26,13 @@
#include "saveload/saveload.h"
#include "void_map.h"
#include "settings_type.h"
+#include "town.h"
#include "table/sprites.h"
void GenerateClearTile();
void GenerateIndustries();
void GenerateUnmovables();
-bool GenerateTowns();
void GenerateTrees();
void StartupEconomy();
@@ -121,7 +121,7 @@ static void _GenerateWorld(void *arg)
/* only generate towns, tree and industries in newgame mode. */
if (_game_mode != GM_EDITOR) {
- GenerateTowns();
+ GenerateTowns(_settings_game.economy.town_layout);
GenerateIndustries();
GenerateUnmovables();
GenerateTrees();