mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
This commit is contained in:
parent
8f4583b161
commit
dbffb060c1
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user