diff options
author | KUDr <kudr@openttd.org> | 2007-01-14 19:18:50 +0000 |
---|---|---|
committer | KUDr <kudr@openttd.org> | 2007-01-14 19:18:50 +0000 |
commit | 8b65342449c7d36ef166ec2e5dc37abe3cc67bdf (patch) | |
tree | 23a6f8249a3b99af865b2b3ffdaf026eb363edda /src/economy.cpp | |
parent | d57b290474617949699460553c27c85859b5e35f (diff) | |
download | openttd-8b65342449c7d36ef166ec2e5dc37abe3cc67bdf.tar.xz |
(svn r8125) -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp).
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 1e631e415..c638ba96e 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1526,7 +1526,7 @@ int LoadUnloadVehicle(Vehicle *v, bool just_arrived) if (result != 0) { InvalidateWindow(WC_VEHICLE_DETAILS, v->index); - MarkStationTilesDirty(st); + st->MarkTilesDirty(); if (result & 2) InvalidateWindow(WC_STATION_VIEW, last_visited); |