mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
This commit is contained in:
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
Block a user