(svn r10478) -Fix [FS#999]: remove the loading indicator when a vehicle is removed.

pull/155/head
rubidium 17 years ago
parent 95ea8fd2f1
commit 6dfbc5a113

@ -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…
Cancel
Save