From 7ba2e75f3ec54fdb9b472a29740468f69cc379fe Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 8 Jul 2007 09:29:28 +0000 Subject: [PATCH] (svn r10474) -Fix [FS#995]: wrong group count after train crash. --- src/train_cmd.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 283e433322..eaaf41cb31 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)