Don't snap to ferries in car profile

This commit is contained in:
Patrick Niklaus 2015-12-11 23:49:41 +01:00
parent 1a8783cfa0
commit 914570b053

View File

@ -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)