From ba4b17e1d45c9efe2805d84e0b7eb5c57e7c610b Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Sun, 6 Apr 2014 18:44:57 +0000 Subject: [PATCH] Use the local upvalue instead of the global function reference. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1257 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- OvaleSpellBook.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvaleSpellBook.lua b/OvaleSpellBook.lua index 8873d77..060f39a 100644 --- a/OvaleSpellBook.lua +++ b/OvaleSpellBook.lua @@ -84,7 +84,7 @@ local function ScanSpellBook(bookType, numSpells, offset) local _, _, numSlots, isKnown = API_GetFlyoutInfo(flyoutId) if numSlots > 0 and isKnown then for flyoutIndex = 1, numSlots do - local id, overrideId, isKnown, spellName = GetFlyoutSlotInfo(flyoutId, flyoutIndex) + local id, overrideId, isKnown, spellName = API_GetFlyoutSlotInfo(flyoutId, flyoutIndex) if isKnown then self_spell[id] = spellName self_spell[overrideId] = spellName -- 1.7.9.5