diff options
author | rubidium <rubidium@openttd.org> | 2007-07-08 09:29:28 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-08 09:29:28 +0000 |
commit | 7ba2e75f3ec54fdb9b472a29740468f69cc379fe (patch) | |
tree | 0d9d0916a37ebad1c9bd8632e44fb75870e9494d | |
parent | 8b54aab214a8236b93ac2f5ef6f6c3e950448a69 (diff) | |
download | openttd-7ba2e75f3ec54fdb9b472a29740468f69cc379fe.tar.xz |
(svn r10474) -Fix [FS#995]: wrong group count after train crash.
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 283e43332..eaaf41cb3 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3029,8 +3029,6 @@ static void DeleteLastWagon(Vehicle *v) BeginVehicleMove(v); EndVehicleMove(v); - if (IsFrontEngine(v)) RemoveVehicleFromGroup(v); - DeleteVehicle(v); if (v->u.rail.track != TRACK_BIT_DEPOT && v->u.rail.track != TRACK_BIT_WORMHOLE) |