mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-01-31 11:23:21 +00:00
(svn r27260) -Fix (r27244): economy.allow_town_roads should not affect town placement during world generation.
This commit is contained in:
parent
5992f4fa1b
commit
813e85f301
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user