diff options
author | celestar <celestar@openttd.org> | 2005-04-08 22:50:22 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2005-04-08 22:50:22 +0000 |
commit | dbffb060c1d5269dd6ad5bf3adf7335cdd111f5d (patch) | |
tree | 9c512d5e639afc9f332ae81abbd6ef4a0a4ed490 | |
parent | 8f4583b1610dcf848cc45b2714964d9217c60611 (diff) | |
download | openttd-dbffb060c1d5269dd6ad5bf3adf7335cdd111f5d.tar.xz |
(svn r2169) -Fix: Doing the slot clearing also for crashed road vehicles (c.f. previous commit)
-rw-r--r-- | roadveh_cmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 591bd8879..5accdf632 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -477,6 +477,7 @@ static void RoadVehDelete(Vehicle *v) BeginVehicleMove(v); EndVehicleMove(v); + ClearSlot(v, v->u.road.slot); DeleteVehicle(v); } |