summaryrefslogtreecommitdiff
path: root/src/genworld.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-02-04 22:52:34 +0000
committersmatz <smatz@openttd.org>2009-02-04 22:52:34 +0000
commitdf2a387fc3869ffd5d03181665591d954edcc0ee (patch)
tree83d96f68ddaeded3b1dba2387c418b51fee47623 /src/genworld.cpp
parent47516b31a73f255b7f1773febbcbd815cd31c324 (diff)
downloadopenttd-df2a387fc3869ffd5d03181665591d954edcc0ee.tar.xz
(svn r15342) -Feature: allow changing town layout in the 'Found new town' window
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();