Fix airport catchment overlay not being refreshed when upgrading/moving

pull/461/head
Jonathan G Rennison 1 year ago
parent 6a03e7ba97
commit 2b38022161

@ -2783,6 +2783,8 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
if (action == AIRPORT_UPGRADE) {
/* delete old airport if upgrading */
ZoningMarkDirtyStationCoverageArea(st);
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
DeleteWindowById(
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)

Loading…
Cancel
Save