forked from mirror/OpenTTD
(svn r25648) -Change [FS#5669]: [NewGRF] Invalidate vehicle recolour palette during (un)loading.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user