summaryrefslogtreecommitdiff
path: root/src/station.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/station.cpp')
-rw-r--r--src/station.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/station.cpp b/src/station.cpp
index 47389d79c..26305cd40 100644
--- a/src/station.cpp
+++ b/src/station.cpp
@@ -45,6 +45,8 @@ BaseStation::~BaseStation()
DeleteWindowById(WC_ROADVEH_LIST, wno | (VEH_ROAD << 11));
DeleteWindowById(WC_SHIPS_LIST, wno | (VEH_SHIP << 11));
DeleteWindowById(WC_AIRCRAFT_LIST, wno | (VEH_AIRCRAFT << 11));
+
+ this->sign.MarkDirty();
}
Station::Station(TileIndex tile) :
@@ -88,7 +90,6 @@ Station::~Station()
}
}
- this->sign.MarkDirty();
InvalidateWindowData(WC_STATION_LIST, this->owner, 0);
DeleteWindowById(WC_STATION_VIEW, index);