diff options
| author | megamage <none@none> | 2009-03-13 17:25:46 -0600 | 
|---|---|---|
| committer | megamage <none@none> | 2009-03-13 17:25:46 -0600 | 
| commit | 7dd699c076b5ff212b819c7b9dcf5707958f9be5 (patch) | |
| tree | 11ec1a5bf909434c83056d6dbb0d321d7185ba80 /src/game/Spell.cpp | |
| parent | 7c33373289e236520d5150476cbe30ef42045153 (diff) | |
*Remove aura type by caster in some cases. New function RemoveAuraTypeByCaster.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Spell.cpp')
| -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 9f5ed2a4e02..04310f2c6c8 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -2141,11 +2141,11 @@ void Spell::cancel()                  {                      Unit* unit = m_caster->GetGUID()==(*ihit).targetGUID ? m_caster : ObjectAccessor::GetUnit(*m_caster, ihit->targetGUID);                      if( unit && unit->isAlive() ) -                        unit->RemoveAurasDueToCasterSpell(m_spellInfo->Id, m_caster->GetGUID()); +                        unit->RemoveAurasByCasterSpell(m_spellInfo->Id, m_caster->GetGUID());                  }              } -            m_caster->RemoveAurasDueToCasterSpell(m_spellInfo->Id, m_caster->GetGUID()); +            m_caster->RemoveAurasByCasterSpell(m_spellInfo->Id, m_caster->GetGUID());              SendChannelUpdate(0);              SendInterrupted(0);              SendCastResult(SPELL_FAILED_INTERRUPTED);  | 
