- added local copy of _G.IceHUD to modules that reference it frequently for a minor lookup speed boost

This commit is contained in:
Parnic
2010-10-20 05:22:27 +00:00
parent 0fc23444e2
commit af5574e4a6
20 changed files with 38 additions and 0 deletions

View File

@ -1,6 +1,7 @@
local L = LibStub("AceLocale-3.0"):GetLocale("IceHUD", false)
IceCastBar = IceCore_CreateClass(IceBarElement)
local IceHUD = _G.IceHUD
IceCastBar.Actions = { None = 0, Cast = 1, Channel = 2, Instant = 3, Success = 4, Failure = 5 }