diff src/town_cmd.cpp @ 6610:91599d92adf4 draft

(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)
author belugas <belugas@openttd.org>
date Sun, 13 May 2007 00:11:13 +0000 (2007-05-13)
parents c3aef1e6e3e1
children 188437dffcff
line wrap: on
line diff
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -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;
 	}