mirror of https://github.com/OpenTTD/OpenTTD
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
parent
f3574a273b
commit
13685c0210
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue