Update turn type

This commit is contained in:
Victor Shcherb 2016-04-15 11:08:38 +02:00
parent 8c4a936fda
commit 87d8ddfcee

View file

@ -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) {