use-lane can occur in roundabouts as well

This commit is contained in:
Moritz Kobitzsch
2016-10-19 11:18:10 +02:00
committed by Daniel J. H
parent 865c6590fa
commit e3c2d4dddc
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -265,7 +265,8 @@ void closeOffRoundabout(const bool on_roundabout,
BOOST_ASSERT(leavesRoundabout(steps[1].maneuver.instruction) ||
steps[1].maneuver.instruction.type == TurnType::StayOnRoundabout ||
steps[1].maneuver.instruction.type == TurnType::Suppressed ||
steps[1].maneuver.instruction.type == TurnType::NoTurn);
steps[1].maneuver.instruction.type == TurnType::NoTurn ||
steps[1].maneuver.instruction.type == TurnType::UseLane);
steps[0].geometry_end = 1;
steps[1].geometry_begin = 0;
steps[1] = forwardInto(steps[1], steps[0]);