diff --git a/ship_cmd.c b/ship_cmd.c --- a/ship_cmd.c +++ b/ship_cmd.c @@ -358,6 +358,7 @@ static void CheckShipLeaveDepot(Vehicle PlayShipSound(v); VehicleServiceInDepot(v); + InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile); InvalidateWindowClasses(WC_SHIPS_LIST); } @@ -882,6 +883,7 @@ int32 CmdBuildShip(TileIndex tile, uint3 VehiclePositionChanged(v); GetPlayer(_current_player)->num_engines[p1]++; + InvalidateWindowData(WC_VEHICLE_DEPOT, v->tile); InvalidateWindow(WC_VEHICLE_DEPOT, v->tile); RebuildVehicleLists(); InvalidateWindow(WC_COMPANY, v->owner);