More data collection structure changes.
Cette révision appartient à :
Parent
9ea6f88143
révision
f6710e075b
|
@ -19,9 +19,9 @@ local function GetRoute(currentname, endnode)
|
|||
end
|
||||
|
||||
local route = ""
|
||||
for j = 1, links - 1 do
|
||||
if #route > 0 then route = route .. "@@" end
|
||||
route = route .. string.format("%f:%f", TaxiGetDestX(endnode, j), TaxiGetDestY(endnode, j))
|
||||
for j = 1, links - 1 do -- Why only the first n-1 links? Why not all? Research.
|
||||
if #route > 0 then route = route .. "," end
|
||||
route = route .. string.format("(%fr,%f)", TaxiGetDestX(endnode, j), TaxiGetDestY(endnode, j))
|
||||
end
|
||||
|
||||
return path, route
|
||||
|
|
Référencer dans un nouveau ticket