(svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette during (un)loading.

This commit is contained in:
frosch
2013-08-04 14:02:27 +00:00
parent a3efc99034
commit 5bda07c10c
6 changed files with 13 additions and 15 deletions

View File

@@ -245,7 +245,8 @@ Trackdir Ship::GetVehicleTrackdir() const
void Ship::MarkDirty()
{
this->UpdateViewport(false, false);
this->colourmap = PAL_NONE;
this->UpdateViewport(true, false);
this->UpdateCache();
}