Quantcast

Fix glyph=... parameter.

Johnny C. Lam [08-14-12 - 11:53]
Fix glyph=... parameter.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@488 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
OvaleCompile.lua
diff --git a/OvaleCompile.lua b/OvaleCompile.lua
index afc00ec..2e28c21 100644
--- a/OvaleCompile.lua
+++ b/OvaleCompile.lua
@@ -44,7 +44,7 @@ end

 local function HasGlyph(spellId)
 	for i = 1, GetNumGlyphSockets() do
-		local enalbled, glypType, glyphSpellID = GetGlyphSocketInfo(i)
+		local enabled, glyphType, glyphTooltipIndex, glyphSpellID = GetGlyphSocketInfo(i)
 		if (glyphSpellID == spellId) then
 			return true
 		end