forked from mirror/OpenTTD
(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
This commit is contained in:
@@ -477,6 +477,7 @@ static void RoadVehDelete(Vehicle *v)
|
|||||||
BeginVehicleMove(v);
|
BeginVehicleMove(v);
|
||||||
EndVehicleMove(v);
|
EndVehicleMove(v);
|
||||||
|
|
||||||
|
ClearSlot(v, v->u.road.slot);
|
||||||
DeleteVehicle(v);
|
DeleteVehicle(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user