Fix fast route mode (latest bug)

This commit is contained in:
vshcherb 2014-02-28 11:37:22 +02:00
parent ad1c998113
commit 4c8b83f139

View file

@ -405,7 +405,7 @@ public class RouteProvider {
RoutingParameter pr = e.getValue();
String vl;
if(key.equals(GeneralRouter.USE_SHORTEST_WAY)) {
Boolean bool = settings.FAST_ROUTE_MODE.getModeValue(params.mode);
Boolean bool = !settings.FAST_ROUTE_MODE.getModeValue(params.mode);
vl = bool ? "true" : null;
} else if(pr.getType() == RoutingParameterType.BOOLEAN) {
CommonPreference<Boolean> pref = settings.getCustomRoutingBooleanProperty(key);