From 2b38022161b0ee43fd3552ae20649e5385540045 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 7 Dec 2022 21:31:42 +0000 Subject: [PATCH] Fix airport catchment overlay not being refreshed when upgrading/moving --- src/station_cmd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 67e1b394cb..869ddd8ea6 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -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)