Fix "compare" node, which affected "Condition(more 5)" constructs.
Johnny C. Lam [03-30-13 - 01:51]
Fix "compare" node, which affected "Condition(more 5)" constructs.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@868 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleCompile.lua b/OvaleCompile.lua
index 5d74a86..7cfe931 100644
--- a/OvaleCompile.lua
+++ b/OvaleCompile.lua
@@ -447,7 +447,7 @@ local function ParseCompare(comp,t,a)
node.type = "compare"
node.comparison = comp
node.time = self_node[tonumber(t)]
- node.b = self_node[tonumber(b)]
+ node.a = self_node[tonumber(a)]
return AddNode(node)
end