(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)
authorbelugas
Sun, 13 May 2007 00:11:13 +0000
changeset 6610 0d1b7a295db1
parent 6609 5db3cdab0591
child 6611 9ebe17f772ba
(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)
src/town_cmd.cpp
--- a/src/town_cmd.cpp	Sat May 12 09:09:10 2007 +0000
+++ b/src/town_cmd.cpp	Sun May 13 00:11:13 2007 +0000
@@ -1178,7 +1178,7 @@
 	/* 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;
 	}