add condition for 0 planRoadDirection
This commit is contained in:
parent
6e584b4913
commit
371e60b3af
1 changed files with 4 additions and 0 deletions
|
@ -543,6 +543,10 @@ public class BinaryRoutePlanner {
|
|||
}
|
||||
break;
|
||||
}
|
||||
|
||||
if (from.getRoad().getRestrictionType(i) == MapRenderingTypes.RESTRICTION_ONLY_STRAIGHT_ON) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue