fix comparison in car speed profile

This commit is contained in:
Dennis Luxen 2014-08-21 12:17:03 +02:00
parent 774e6346e7
commit 6a09ce1613

View File

@ -281,7 +281,7 @@ function way_function (way)
-- scale speeds to get better avg driving times
way.forward_speed = way.forward_speed * speed_reduction
if maxspeed_backward > 0 then
if way.backward_speed > 0 then
way.backward_speed = way.backward_speed*speed_reduction
end
end