Updated the comment to reflect the updated logic
This commit is contained in:
parent
74c7cc623e
commit
9c8c824fbc
@ -618,8 +618,8 @@ RouteSteps collapseSegregatedTurnInstructions(RouteSteps steps)
|
|||||||
TransferLanesStrategy());
|
TransferLanesStrategy());
|
||||||
++next_step;
|
++next_step;
|
||||||
}
|
}
|
||||||
// else if the current step is segregated and the next step is not then combine with turn
|
// else if the current step is segregated and the next step is not segregated
|
||||||
// adjustment
|
// and the next step is not a roundabout then combine with turn adjustment
|
||||||
else if (curr_step->is_segregated && !next_step->is_segregated
|
else if (curr_step->is_segregated && !next_step->is_segregated
|
||||||
&& !hasRoundaboutType(next_step->maneuver.instruction))
|
&& !hasRoundaboutType(next_step->maneuver.instruction))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user