diff options
Diffstat (limited to 'src/ship_cmd.cpp')
-rw-r--r-- | src/ship_cmd.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ship_cmd.cpp b/src/ship_cmd.cpp index 2a65dfcf4..8b72b41f0 100644 --- a/src/ship_cmd.cpp +++ b/src/ship_cmd.cpp @@ -326,7 +326,7 @@ static bool CheckShipLeaveDepot(Ship *v) v->vehstatus &= ~VS_HIDDEN; v->cur_speed = 0; - v->UpdateViewport(false, true); + v->UpdateViewport(true, true); SetWindowDirty(WC_VEHICLE_DEPOT, v->tile); PlayShipSound(v); @@ -601,6 +601,7 @@ static void ShipController(Ship *v) v->z_pos = GetSlopePixelZ(gp.x, gp.y); getout: + VehicleUpdatePosition(v); v->UpdateViewport(true, true); return; |