Merge branch 'develop'

This commit is contained in:
FlightControl 2018-10-19 17:01:11 +02:00
commit 9c45031a33

View File

@ -2136,7 +2136,7 @@ do -- Route methods
local canroad=false
-- Check if a valid path on road could be found.
if PathOnRoad then
if PathOnRoad and LengthOffRoad > 1000 then -- if the length of the movement is less than 1 km, drive directly.
-- Check whether the road is very long compared to direct path.
if LongRoad and Shortcut then