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/economy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/economy.cpp') 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); -- cgit v1.2.3-54-g00ecf