summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorKUDr <kudr@openttd.org>2007-01-14 19:18:50 +0000
committerKUDr <kudr@openttd.org>2007-01-14 19:18:50 +0000
commit8b65342449c7d36ef166ec2e5dc37abe3cc67bdf (patch)
tree23a6f8249a3b99af865b2b3ffdaf026eb363edda /src/economy.cpp
parentd57b290474617949699460553c27c85859b5e35f (diff)
downloadopenttd-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.cpp2
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);