(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)

This commit is contained in:
celestar 2005-04-08 22:50:22 +00:00
parent 8f4583b161
commit dbffb060c1

View File

@ -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);
} }