summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ship_cmd.cpp1
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)