diff options
author | terkhen <terkhen@openttd.org> | 2010-11-11 22:19:27 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-11-11 22:19:27 +0000 |
commit | 13685c0210b61fb87a8a23b80be09de737dd0499 (patch) | |
tree | b6236253508c13317991844857260bc303c49bb6 | |
parent | f3574a273b297c543284d139213cd14f9196c68f (diff) | |
download | openttd-13685c0210b61fb87a8a23b80be09de737dd0499.tar.xz |
(svn r21148) -Fix (r21098): Evaluate callback 36 for ship speed as frequently as done for other vehicle types.
-rw-r--r-- | src/ship_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 3882dc8e3..5b4c7780a 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -211,6 +211,7 @@ Trackdir Ship::GetVehicleTrackdir() const void Ship::MarkDirty() { this->UpdateViewport(false, false); + this->UpdateCache(); } static void PlayShipSound(const Vehicle *v) |