diff options
author | peter1138 <peter1138@openttd.org> | 2007-06-08 09:35:39 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2007-06-08 09:35:39 +0000 |
commit | 9c66082b079af7f608d033225c1544558c93a715 (patch) | |
tree | 2e4dbdfce24473a173e2061ef009fc3d4a98f929 /src/economy.cpp | |
parent | 29f6ae952cdbd3ff702c84b6ad1e4a68968dc9ce (diff) | |
download | openttd-9c66082b079af7f608d033225c1544558c93a715.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.cpp | 2 |
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); |