Don't snap to ferries in car profile
This commit is contained in:
parent
1a8783cfa0
commit
914570b053
@ -448,6 +448,9 @@ function way_function (way, result)
|
||||
end
|
||||
result.backward_speed = math.min(penalized_speed, scaled_speed)
|
||||
end
|
||||
|
||||
-- only allow this road as start point if it not a ferry
|
||||
result.is_startpoint = result.forward_mode == mode_normal or result.backward_mode == mode_normal
|
||||
end
|
||||
|
||||
function turn_function (angle)
|
||||
|
Loading…
Reference in New Issue
Block a user