(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user