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 | 5d02a2c2955cb7b14600d184e3a5c475f4a8199f (patch) | |
tree | 9c512d5e639afc9f332ae81abbd6ef4a0a4ed490 | |
parent | 7ef681eaed3dae29c3145829aab37a78b30b83bd (diff) | |
download | openttd-5d02a2c2955cb7b14600d184e3a5c475f4a8199f.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); } |