diff options
author | rubidium <rubidium@openttd.org> | 2009-12-11 19:27:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-11 19:27:48 +0000 |
commit | b8a7efc4506c3b820b0e74c943f49e06480073d7 (patch) | |
tree | 751115901d586e594ffb853f035024c02c7ff21d /src | |
parent | db4e547e2418340a9c399c1becdad98231d0a44e (diff) | |
download | openttd-b8a7efc4506c3b820b0e74c943f49e06480073d7.tar.xz |
(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.
Diffstat (limited to 'src')
-rw-r--r-- | src/train_cmd.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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; |