summaryrefslogtreecommitdiff
path: root/src/vehicle.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
commit9c66082b079af7f608d033225c1544558c93a715 (patch)
tree2e4dbdfce24473a173e2061ef009fc3d4a98f929 /src/vehicle.cpp
parent29f6ae952cdbd3ff702c84b6ad1e4a68968dc9ce (diff)
downloadopenttd-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/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 83550c226..d813414d4 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2964,7 +2964,7 @@ void Vehicle::BeginLoading()
InvalidateWindow(WC_VEHICLE_DETAILS, this->index);
InvalidateWindow(WC_STATION_VIEW, this->last_station_visited);
- GetStation(this->last_station_visited)->MarkTilesDirty();
+ GetStation(this->last_station_visited)->MarkTilesDirty(true);
this->MarkDirty();
}