From: Mikko Rasa Date: Tue, 23 Nov 2010 21:29:34 +0000 (+0000) Subject: Fix a stupid comparison mistake in Route X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2dce9f86c82b6ada591f2a2f0135edceb95756f3;p=r2c2.git Fix a stupid comparison mistake in Route --- 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<