summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/train_cmd.cpp2
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)