WoWInterface SVN Blessed

Compare Revisions

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

Rev 14 → Rev 13

Blessed/Blessed.lua
229,10 → 229,6
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)
255,7 → 251,7
end
 
-- Remove bar
function Blessed:RemoveFrame(spellID)
function Blessed:RemoveFrame(spellID, refresh)
if #frames == 0 then return end
 
for i, frame in pairs(frames) do