summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-05-13 00:11:13 +0000
committerbelugas <belugas@openttd.org>2007-05-13 00:11:13 +0000
commit2ccc060b4a263f211a43e656cdc75f10e0794ee0 (patch)
tree35703e3428d68b4362cc313ae36697bafdffd358 /src
parentc46a00aba72b7aa3fe0d1dae8927c1f62e5aa269 (diff)
downloadopenttd-2ccc060b4a263f211a43e656cdc75f10e0794ee0.tar.xz
(svn r9830) -Fix(r9779) : Let the town expand and build new houses along the roads of the users, even in case of "No Road" layout (skiddl13)
Diffstat (limited to 'src')
-rw-r--r--src/town_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index db9536c1c..4f1e29b8d 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1178,7 +1178,7 @@ static bool GrowTown(Town *t)
/* Let the town be a ghost town
* The player wanted it in such a way. Thus there he has it. ;)
* Never reached in editor mode. */
- if (_patches.town_layout == TL_NO_ROADS) {
+ if (_patches.town_layout == TL_NO_ROADS && _generating_world) {
return false;
}