(svn r27260) -Fix (r27244): economy.allow_town_roads should not affect town placement during world generation.

This commit is contained in:
frosch 2015-04-28 17:25:21 +00:00
parent 5992f4fa1b
commit 813e85f301
1 changed files with 1 additions and 1 deletions

View File

@ -1311,7 +1311,7 @@ static bool CanFollowRoad(TileIndex tile, DiagDirection dir)
if (HasTileWaterGround(target_tile)) return false;
RoadBits target_rb = GetTownRoadBits(target_tile);
if (_settings_game.economy.allow_town_roads) {
if (_settings_game.economy.allow_town_roads || _generating_world) {
/* Check whether a road connection exists or can be build. */
switch (GetTileType(target_tile)) {
case MP_ROAD: