Disallow building bridges over airports

This commit is contained in:
Jonathan G Rennison
2018-07-30 01:55:58 +01:00
parent 25bfeec048
commit b9d7f8e0a7
3 changed files with 7 additions and 31 deletions

View File

@@ -502,7 +502,7 @@ CommandCost CmdBuildBridge(TileIndex end_tile, DoCommandFlag flags, uint32 p1, u
}
case MP_STATION: {
if (!_settings_game.construction.allow_stations_under_bridges) goto not_valid_below;
if (!_settings_game.construction.allow_stations_under_bridges || IsAirport(tile)) goto not_valid_below;
break;
}