1
0
Bifurcation 0

Another hack to resolve issues with Alterac Mountains.

Cette révision appartient à :
Nathanial.C.Jones 2011-02-01 01:27:21 +00:00
Parent aa4daed0ea
révision 25e481aad9
1 fichiers modifiés avec 7 ajouts et 5 suppressions

Voir le fichier

@ -182,12 +182,14 @@ function QH_Graph_Pathmultifind(st, nda, reverse, make_path)
local stnode = QuestHelper:CreateTable("graphcore stnode")
do
stnode.x, stnode.y, stnode.p, stnode.c, stnode.scan_id, stnode.scan_cost = st.x, st.y, canoplane(st.p), st.c, grid, 0
QuestHelper: Assert(plane[canoplane(st.p)], "Plane " .. canoplane(st.p) .. " does not exist.")
tinsert(plane[stnode.p], stnode)
if canoplane(st.p) ~= 26 then
QuestHelper: Assert(plane[canoplane(st.p)], "Plane " .. canoplane(st.p) .. " does not exist.")
tinsert(plane[stnode.p], stnode)
local hep = QuestHelper:CreateTable("graphcore heap")
hep.c, hep.n = 0, stnode -- more than the subtraction, less than the minimum
heap_insert(dijheap, hep)
local hep = QuestHelper:CreateTable("graphcore heap")
hep.c, hep.n = 0, stnode -- more than the subtraction, less than the minimum
heap_insert(dijheap, hep)
end
end
--stats.heap_max = #dijheap