View Single Post
12-13-06, 12:42 PM   #3
Devla
A Cobalt Mageweaver
 
Devla's Avatar
AddOn Compiler - Click to view compilations
Join Date: Mar 2005
Posts: 206
For BC/Live dual compatibility, I replaced line 40 with the following:

Code:
        local oldandbusted = _G.GetBuildInfo() == '2.0.1'
            if oldandbusted then
                CreateFrame("Model", name .. "Cooldown", button, "CooldownFrameTemplate")
                    else
                CreateFrame("Cooldown", name .. "Cooldown", button, "CooldownFrameTemplate")
            end
__________________
RETIRED Author
  Reply With Quote