forked from mirror/OpenTTD
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
This commit is contained in:
@@ -211,6 +211,7 @@ Trackdir Ship::GetVehicleTrackdir() const
|
|||||||
void Ship::MarkDirty()
|
void Ship::MarkDirty()
|
||||||
{
|
{
|
||||||
this->UpdateViewport(false, false);
|
this->UpdateViewport(false, false);
|
||||||
|
this->UpdateCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void PlayShipSound(const Vehicle *v)
|
static void PlayShipSound(const Vehicle *v)
|
||||||
|
Reference in New Issue
Block a user