X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Froute.cpp;h=ad6f81169e5a36221e05934ba5f4cb0e7d6439e3;hb=d3a7a9e9ad694d52ccca8b6038501772fdc1dfd5;hp=6809c0ad7fcd13379ca42a29070f3d0ee3160b3e;hpb=7e27b311e33beda1746eb63e0945633f262427f6;p=r2c2.git diff --git a/source/libr2c2/route.cpp b/source/libr2c2/route.cpp index 6809c0a..ad6f811 100644 --- a/source/libr2c2/route.cpp +++ b/source/libr2c2/route.cpp @@ -365,7 +365,7 @@ unsigned Route::check_validity(Track &trk) const const TrackType::Endpoint &ep2 = tlinks[j]->get_type().get_endpoint(tlinks[j]->get_endpoint_by_link(**i)); path = get_turnout(tid2); // Ignore a linked turnout with some other path set - if(path>0 && !(ep2.paths&(1<=0 && !(ep2.paths&(1<