From 26985a012810d1dabab492400f756e949688d780 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 8 Jul 2007 17:44:46 +0000 Subject: (svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed. --- src/vehicle.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index dea86bc01..d331f6325 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -675,6 +675,9 @@ void DestroyVehicle(Vehicle *v) { if (IsValidStationID(v->last_station_visited)) { GetStation(v->last_station_visited)->loading_vehicles.remove(v); + + HideFillingPercent(v->fill_percent_te_id); + v->fill_percent_te_id = INVALID_TE_ID; } if (IsEngineCountable(v)) { -- cgit v1.2.3-70-g09d2