forked from organicmaps/organicmaps
Minor fixes.
This commit is contained in:
parent
5c9400499f
commit
8cb9211a41
1 changed files with 3 additions and 4 deletions
|
@ -1023,10 +1023,9 @@ void GetTurnDirection(IRoutingResult const & result, size_t outgoingSegmentIndex
|
|||
// The route goes along the rightmost candidate.
|
||||
GoStraightCorrection(nodes.candidates.front(), CarDirection::TurnSlightRight, turn);
|
||||
}
|
||||
else
|
||||
{
|
||||
CHECK(false, ("There are 2 turn candidates and route goes somewhere else."));
|
||||
}
|
||||
// Note. It's possible that |firstOutgoingSeg| is not contained in |nodes.candidates|.
|
||||
// It may happened if |firstOutgoingSeg| and candidates in |nodes.candidates| are
|
||||
// from different mwms.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue