(svn r10062) -Codechange: Don't redraw all station tiles when cargo is added or removed if the station has no custom graphics.

This commit is contained in:
peter1138
2007-06-08 09:35:39 +00:00
parent 29f6ae952c
commit 9c66082b07
5 changed files with 16 additions and 7 deletions

View File

@@ -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();
}