1
0
Fork 0

(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.

release/1.0
rubidium 2009-12-11 19:27:48 +00:00
parent db4e547e24
commit b8a7efc450
1 changed files with 0 additions and 4 deletions

View File

@ -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;