fix 10736

This commit is contained in:
Kseniia 2021-02-17 23:28:11 +02:00
parent 021ff51533
commit 2ca1303cf3

View file

@ -652,7 +652,7 @@ public class GeneralRouter implements VehicleRouter {
// more like UT // more like UT
if (diff > 2 * Math.PI / 3) { if (diff > 2 * Math.PI / 3) {
totalPenalty += getLeftTurn(); totalPenalty += getLeftTurn();
} else if (diff > Math.PI / 3) { } else if (diff > Math.PI / 2.1) {
totalPenalty += getRightTurn(); totalPenalty += getRightTurn();
} }
} }