lua: handle_hov()

This commit is contained in:
Emil Tin 2016-11-12 23:16:25 +01:00 committed by Patrick Niklaus
parent 9aeb3086cb
commit f90736b6b3

View File

@ -334,10 +334,6 @@ function handle_blocking(way,result,cache)
if "impassable" == status then if "impassable" == status then
return false return false
end end
if handle_hov(way,result,cache) == false then
return false
end
end end
-- set default mode -- set default mode
@ -686,6 +682,7 @@ function way_function(way, result)
if handle_default_mode(way,result,cache) == false then return end if handle_default_mode(way,result,cache) == false then return end
if handle_blocking(way,result,cache) == false then return end if handle_blocking(way,result,cache) == false then return end
if handle_access(way,result,cache,data) == false then return end if handle_access(way,result,cache,data) == false then return end
if handle_hov(way,result,cache) == false then return false end
if handle_ferries(way,result,cache) == false then return end if handle_ferries(way,result,cache) == false then return end
if handle_movables(way,result,cache) == false then return end if handle_movables(way,result,cache) == false then return end
if handle_service(way,result,cache) == false then return end if handle_service(way,result,cache) == false then return end