Skip to content

Commit

Permalink
(svn r18462) -Fix: when moving a wagon and only the last part of a du…
Browse files Browse the repository at this point in the history
…al headed engine you could split the dual headed engine over two vehicles.
  • Loading branch information
rubidium42 committed Dec 11, 2009
1 parent db4e547 commit b8a7efc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/train_cmd.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit b8a7efc

Please sign in to comment.