From b8a7efc4506c3b820b0e74c943f49e06480073d7 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 11 Dec 2009 19:27:48 +0000 Subject: (svn r18462) -Fix: when moving a wagon and only the last part of a dual headed engine you could split the dual headed engine over two vehicles. --- src/train_cmd.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 5efcb9789..2ca604e5b 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -1069,10 +1069,6 @@ static void AddWagonToConsist(Train *v, Train *dest) */ static void NormaliseTrainConsist(Train *v) { - if (v->IsFreeWagon()) return; - - assert(v->IsFrontEngine()); - for (; v != NULL; v = v->GetNextVehicle()) { if (!v->IsMultiheaded() || !v->IsEngine()) continue; -- cgit v1.2.3-54-g00ecf