fix INVALID_NAME_ID vs INVALID_NAMEID -> EMPTY_NAMEID
This commit is contained in:
committed by
Patrick Niklaus
parent
0a53775fb3
commit
bdc66049a5
@@ -616,7 +616,7 @@ std::vector<RouteStep> collapseTurns(std::vector<RouteStep> steps)
|
||||
|
||||
// Handle possible u-turns between highways that look like slip-roads
|
||||
if (steps[two_back_index].name_id == steps[step_index].name_id &&
|
||||
steps[step_index].name_id != INVALID_NAMEID)
|
||||
steps[step_index].name_id != EMPTY_NAMEID)
|
||||
{
|
||||
steps[one_back_index].maneuver.instruction.type = TurnType::Continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user