Disable non-noise town airport limit in local authority permissive mode
This commit is contained in:
@@ -2802,7 +2802,7 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32_t p1, ui
|
|||||||
authority_refuse_message = STR_ERROR_LOCAL_AUTHORITY_REFUSES_NOISE;
|
authority_refuse_message = STR_ERROR_LOCAL_AUTHORITY_REFUSES_NOISE;
|
||||||
authority_refuse_town = nearest;
|
authority_refuse_town = nearest;
|
||||||
}
|
}
|
||||||
} else if (action != AIRPORT_UPGRADE) {
|
} else if (_settings_game.difficulty.town_council_tolerance != TOWN_COUNCIL_PERMISSIVE && action != AIRPORT_UPGRADE) {
|
||||||
Town *t = ClosestTownFromTile(tile, UINT_MAX);
|
Town *t = ClosestTownFromTile(tile, UINT_MAX);
|
||||||
uint num = 0;
|
uint num = 0;
|
||||||
for (const Station *st : Station::Iterate()) {
|
for (const Station *st : Station::Iterate()) {
|
||||||
|
Reference in New Issue
Block a user