File diff r6508:327123b6721a → r6509:ed1b81c85367
src/vehicle.cpp
Show inline comments
 
@@ -570,7 +570,7 @@ bool IsEngineCountable(const Vehicle *v)
 

	
 
void DestroyVehicle(Vehicle *v)
 
{
 
	if (v->last_station_visited != INVALID_STATION) {
 
	if (IsValidStationID(v->last_station_visited)) {
 
		GetStation(v->last_station_visited)->loading_vehicles.remove(v);
 
	}