maxspeed:forward issue

This commit is contained in:
sonora 2016-10-25 12:55:21 +02:00
parent fb7e8f99c0
commit b7252dead7

View file

@ -260,7 +260,7 @@ public class RouteDataObject {
for (int i = 0; i < sz; i++) { for (int i = 0; i < sz; i++) {
RouteTypeRule r = region.quickGetEncodingRule(types[i]); RouteTypeRule r = region.quickGetEncodingRule(types[i]);
if(r.isForward() != 0) { if(r.isForward() != 0) {
if((r.isForward() > 1) != direction) { if((r.isForward() == 1) != direction) {
continue; continue;
} }
} }