summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-06-08 09:35:39 +0000
committerpeter1138 <peter1138@openttd.org>2007-06-08 09:35:39 +0000
commitf2e0912ce9dd919fca681339521a001ad9689c74 (patch)
tree2e4dbdfce24473a173e2061ef009fc3d4a98f929 /src/economy.cpp
parent906385eb3d07ed913066e9c92fcb9da9f3758fa3 (diff)
downloadopenttd-f2e0912ce9dd919fca681339521a001ad9689c74.tar.xz
(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.
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 b6966ead0..194c535f3 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1697,7 +1697,7 @@ static void LoadUnloadVehicle(Vehicle *v, int *cargo_left)
InvalidateWindow(v->GetVehicleListWindowClass(), v->owner);
InvalidateWindow(WC_VEHICLE_DETAILS, v->index);
- st->MarkTilesDirty();
+ st->MarkTilesDirty(true);
v->MarkDirty();
if (result & 2) InvalidateWindow(WC_STATION_VIEW, last_visited);