From f66eda0c9a74fe26d481ead0d492397ff6074259 Mon Sep 17 00:00:00 2001 From: MadWasp79 Date: Wed, 9 Oct 2019 13:21:49 +0300 Subject: [PATCH] logic fix #6416 --- OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java b/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java index cc07d7b216..8b4ba4d8e2 100644 --- a/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java +++ b/OsmAnd/src/net/osmand/plus/views/TurnPathHelper.java @@ -579,7 +579,8 @@ public class TurnPathHelper { if (secondTurnType == 0) { turnResource = new TurnResource(firstTurnType, false, false, leftSide); } else if (secondTurnType == TurnType.C || thirdTurnType == TurnType.C - || secondTurnType == TurnType.TSLL || secondTurnType == TurnType.TSLR) { + || ((firstTurnType == TurnType.TL || firstTurnType == TurnType.TR) + && (secondTurnType == TurnType.TSLL || secondTurnType == TurnType.TSLR))) { turnResource = new TurnResource(firstTurnType, true, false, leftSide); } else { if (firstTurnType == TurnType.TU || firstTurnType == TurnType.TRU) {