1
0
Bifurcation 0

Ok, last revision had a bug in the code that I rectified in the "production" test locally. This version has another forced fail, so it will not be released for testing by anyone else.

Cette révision appartient à :
Nathanial.C.Jones 2011-02-05 22:05:57 +00:00
Parent d72b4d9103
révision a8a82418e5
2 fichiers modifiés avec 5 ajouts et 5 suppressions

Voir le fichier

@ -354,11 +354,6 @@ Route_Core_Init(
for _, v in ipairs(loctable) do
QuestHelper: Assert(v.loc)
QuestHelper: Assert(type(v.loc) == "table")
string indices = ""
for k, v in pairs(v.loc) do
indices = string.format("%s %s=%s", indices, tostring(k), tostring(v))
end
QuestHelper: Assert(false, indices)
table.insert(lt, v.loc)
end
QuestHelper: Assert(#loctable == #lt)

Voir le fichier

@ -612,6 +612,11 @@ local function RunAnt()
accumulated_weight = accumulated_weight - gwc[k]
if accumulated_weight < 0 then
nod = k
structureofnod = ""
if type(nod) == "table" then for k, v in pairs(nod) do structureofnod = string.format("%s %s=%s", structureofnod, tostring(k), tostring(v))
else structureofnod = string.format("Not a table. Value is %s.", tostring(nod))
end
QuestHelper:Assert(false, structureofnod)
break
end
end