mirror of https://github.com/OpenTTD/OpenTTD
(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
parent
283a06e4a1
commit
26985a0128
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue