Fix airport catchment overlay not being refreshed when upgrading/moving
This commit is contained in:
@@ -2783,6 +2783,8 @@ CommandCost CmdBuildAirport(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
|||||||
if (action == AIRPORT_UPGRADE) {
|
if (action == AIRPORT_UPGRADE) {
|
||||||
/* delete old airport if upgrading */
|
/* delete old airport if upgrading */
|
||||||
|
|
||||||
|
ZoningMarkDirtyStationCoverageArea(st);
|
||||||
|
|
||||||
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
|
for (uint i = 0; i < st->airport.GetNumHangars(); ++i) {
|
||||||
DeleteWindowById(
|
DeleteWindowById(
|
||||||
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)
|
WC_VEHICLE_DEPOT, st->airport.GetHangarTile(i)
|
||||||
|
Reference in New Issue
Block a user