diff options
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/station.cpp b/src/station.cpp index 14d66cf60..81c6c186d 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -88,10 +88,10 @@ Station::~Station() DeleteWindowById(WC_AIRCRAFT_LIST, wno | (VEH_AIRCRAFT << 11)); /* Now delete all orders that go to the station */ - RemoveOrderFromAllVehicles(OT_GOTO_STATION, index); + RemoveOrderFromAllVehicles(OT_GOTO_STATION, this->index); /* Subsidies need removal as well */ - DeleteSubsidyWithStation(index); + DeleteSubsidyWith(ST_STATION, this->index); /* Remove all news items */ DeleteStationNews(this->index); |