diff options
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 8052a29ac..a10f0481d 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -1163,6 +1163,7 @@ void VehicleEnterDepot(Vehicle *v) SetWindowClassesDirty(WC_SHIPS_LIST); Ship *ship = Ship::From(v); ship->state = TRACK_BIT_DEPOT; + ship->UpdateCache(); ship->UpdateViewport(true, true); SetWindowDirty(WC_VEHICLE_DEPOT, v->tile); break; |