diff options
author | megamage <none@none> | 2008-12-28 09:25:29 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-28 09:25:29 -0600 |
commit | 1a53ea2c02ed0fd865798e2c3b97b2871944d971 (patch) | |
tree | 1a6e2bd38e37ce6f7cd01239bc0cfaa0e44e7787 /src | |
parent | f20e4be2e9e5c055373a6d59081d99dba33a93bb (diff) |
*Remove auras by caster when interrupt channelled spells.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Spell.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 52aa86bcf24..c17e5632cb9 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2130,11 +2130,11 @@ void Spell::cancel() { Unit* unit = m_caster->GetGUID()==(*ihit).targetGUID ? m_caster : ObjectAccessor::GetUnit(*m_caster, ihit->targetGUID); if( unit && unit->isAlive() ) - unit->RemoveAurasDueToSpell(m_spellInfo->Id); + unit->RemoveAurasDueToCasterSpell(m_spellInfo->Id, m_caster->GetGUID()); } } - m_caster->RemoveAurasDueToSpell(m_spellInfo->Id); + m_caster->RemoveAurasDueToCasterSpell(m_spellInfo->Id, m_caster->GetGUID()); SendChannelUpdate(0); SendInterrupted(0); SendCastResult(SPELL_FAILED_INTERRUPTED); |