Update turn type
This commit is contained in:
parent
8c4a936fda
commit
87d8ddfcee
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ public class TurnType {
|
|||
|
||||
public static int getSecondaryTurn(int laneValue) {
|
||||
// Get the secondary turn modifier for the lane
|
||||
return (laneValue >> 5);
|
||||
return (laneValue >> 5) & ((1 << 5) - 1);
|
||||
}
|
||||
|
||||
public static void setPrimaryTurnShiftOthers(int[] lanes, int lane, int turnType) {
|
||||
|
|
Loading…
Reference in a new issue