Tag GetSpellTexture() as a Blizzard API function.
Johnny C. Lam [03-28-13 - 04:34]
Tag GetSpellTexture() as a Blizzard API function.
git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@841 d5049fe3-3747-40f7-a4b5-f36d6801af5f
diff --git a/OvaleFrame.lua b/OvaleFrame.lua
index 27a5e3e..5ce79cf 100644
--- a/OvaleFrame.lua
+++ b/OvaleFrame.lua
@@ -29,6 +29,7 @@ do
local wipe = table.wipe
local API_CreateFrame = CreateFrame
local API_GetSpellInfo = GetSpellInfo
+ local API_GetSpellTexture = GetSpellTexture
local API_GetTime = GetTime
--</private-static-properties>
@@ -196,7 +197,7 @@ do
if element and element.type == "value" then
local actionTexture
if node.params.texture then
- actionTexture = GetSpellTexture(node.params.texture)
+ actionTexture = API_GetSpellTexture(node.params.texture)
end
local value
if element.value and element.origin and element.rate then