WoWInterface SVN Blessed

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 13 to Rev 14
    Reverse comparison

Rev 13 → Rev 14

Blessed/Blessed.lua
229,6 → 229,10
if (combatEvent == "SPELL_AURA_REMOVED") then
self:RemoveFrame(spellID, false)
elseif (combatEvent == "SPELL_AURA_APPLIED") then
-- Get rid of Beacon, to avoid duplicates due to being in different realms
if spellID == 53563 then
self:RemoveFrame(spellID)
end
self:SetupIcon(spellID, destName, destGUID)
elseif (combatEvent == "SPELL_AURA_REFRESH") then
self:RemoveFrame(spellID, true)
251,7 → 255,7
end
 
-- Remove bar
function Blessed:RemoveFrame(spellID, refresh)
function Blessed:RemoveFrame(spellID)
if #frames == 0 then return end
 
for i, frame in pairs(frames) do