From 9c66082b079af7f608d033225c1544558c93a715 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 8 Jun 2007 09:35:39 +0000 Subject: (svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics. --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle.cpp') 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(); } -- cgit v1.2.3-54-g00ecf