Update TurnPathHelper.java
This commit is contained in:
parent
195b83640d
commit
6c1896c7f5
1 changed files with 1 additions and 1 deletions
|
@ -609,7 +609,7 @@ public class TurnPathHelper {
|
|||
} else if (firstTurnType != TurnType.C && TurnType.isSlightTurn(firstTurnType)
|
||||
&& !TurnType.isSlightTurn(secondTurnType) && !TurnType.isSlightTurn(thirdTurnType)) {
|
||||
if (TurnType.isLeftTurn(firstTurnType) && TurnType.isRightTurn(secondTurnType)
|
||||
&& (thirdTurnType == 0 | TurnType.isLeftTurn(thirdTurnType))) {
|
||||
&& (thirdTurnType == 0 || TurnType.isLeftTurn(thirdTurnType))) {
|
||||
turnResource = new TurnResource(secondTurnType, true, false, leftSide);
|
||||
} else if (TurnType.isRightTurn(firstTurnType) && TurnType.isLeftTurn(secondTurnType)
|
||||
&& (thirdTurnType == 0 || TurnType.isRightTurn(thirdTurnType))) {
|
||||
|
|
Loading…
Reference in a new issue