Updated the comment to reflect the updated logic

This commit is contained in:
Duane Gearhart 2018-04-20 00:02:26 -04:00 committed by Michael Krasnyk
parent 74c7cc623e
commit 9c8c824fbc
No known key found for this signature in database
GPG Key ID: 49C12AD0F43D2108

View File

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