Skip to content
Permalink
Browse files
(svn r18462) -Fix: when moving a wagon and only the last part of a du…
…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 b8a7efc4506c3b820b0e74c943f49e06480073d7
Showing 1 changed file with 0 additions and 4 deletions.
@@ -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;

0 comments on commit b8a7efc

Please sign in to comment.