From 2ca1303cf3dd32a2fd1beb3207ad48699e662f6e Mon Sep 17 00:00:00 2001 From: Kseniia Date: Wed, 17 Feb 2021 23:28:11 +0200 Subject: [PATCH] fix 10736 --- OsmAnd-java/src/main/java/net/osmand/router/GeneralRouter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/router/GeneralRouter.java b/OsmAnd-java/src/main/java/net/osmand/router/GeneralRouter.java index fad98d466d..5f51fa02cc 100644 --- a/OsmAnd-java/src/main/java/net/osmand/router/GeneralRouter.java +++ b/OsmAnd-java/src/main/java/net/osmand/router/GeneralRouter.java @@ -652,7 +652,7 @@ public class GeneralRouter implements VehicleRouter { // more like UT if (diff > 2 * Math.PI / 3) { totalPenalty += getLeftTurn(); - } else if (diff > Math.PI / 3) { + } else if (diff > Math.PI / 2.1) { totalPenalty += getRightTurn(); } }