Always allow buoys under bridges

This commit is contained in:
Jonathan G Rennison
2019-11-19 20:01:09 +00:00
parent 252a690ac4
commit acc946f505
2 changed files with 8 additions and 1 deletions

View File

@@ -435,6 +435,10 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
break;
}
case STATION_BUOY:
/* Buoys are always allowed */
break;
default:
if (!_settings_game.construction.allow_stations_under_bridges) {
CommandCost ret = DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR);
@@ -542,6 +546,10 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
break;
}
case STATION_BUOY:
/* Buoys are always allowed */
break;
default:
if (!_settings_game.construction.allow_stations_under_bridges) goto not_valid_below;
break;