From 2dce9f86c82b6ada591f2a2f0135edceb95756f3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Tue, 23 Nov 2010 21:29:34 +0000 Subject: [PATCH] Fix a stupid comparison mistake in Route --- source/libr2c2/route.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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<