From 9c8c824fbc52641c7f40ff132f9c806a4e04f23e Mon Sep 17 00:00:00 2001 From: Duane Gearhart Date: Fri, 20 Apr 2018 00:02:26 -0400 Subject: [PATCH] Updated the comment to reflect the updated logic --- src/engine/guidance/collapse_turns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/guidance/collapse_turns.cpp b/src/engine/guidance/collapse_turns.cpp index 98404685b..8219ecb2c 100644 --- a/src/engine/guidance/collapse_turns.cpp +++ b/src/engine/guidance/collapse_turns.cpp @@ -618,8 +618,8 @@ RouteSteps collapseSegregatedTurnInstructions(RouteSteps steps) TransferLanesStrategy()); ++next_step; } - // else if the current step is segregated and the next step is not then combine with turn - // adjustment + // else if the current step is segregated and the next step is not segregated + // and the next step is not a roundabout then combine with turn adjustment else if (curr_step->is_segregated && !next_step->is_segregated && !hasRoundaboutType(next_step->maneuver.instruction)) {