fix comparison in car speed profile
This commit is contained in:
parent
774e6346e7
commit
6a09ce1613
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user