diff --git a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java index 4e42f55e24..5872818c5f 100644 --- a/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java +++ b/OsmAnd/src/net/osmand/plus/routing/RouteCalculationResult.java @@ -817,7 +817,7 @@ public class RouteCalculationResult { // (!Algorithms.objectEquals(p.getRef(), i.getRef()) && // !Algorithms.objectEquals(p.getStreetName(), i.getStreetName()))) { // Just a temporary test - if(p == null || !i.getTurnType().isSkipToSpeak()) { + if(!i.getTurnType().isSkipToSpeak()) { p = new RouteDirectionInfo(i.getAverageSpeed(), i.getTurnType()); p.routePointOffset = i.routePointOffset; p.routeEndPointOffset = i.routeEndPointOffset;