(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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user