diff options
| author | megamage <none@none> | 2008-12-05 23:31:45 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2008-12-05 23:31:45 -0600 |
| commit | e8f1bbc999fac1adccf96c154c7cc7de2bb62a94 (patch) | |
| tree | a8e3ba68196182b73f92516b0ea96c92fded9808 /src/game/SpellAuras.cpp | |
| parent | 8c24dd2031a79b9077f827904b00eb887cbc02e8 (diff) | |
*Move kill-target part from DealDamage to a new function Kill.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index c4487880c88..4e31d0c2b61 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5344,7 +5344,7 @@ void Aura::HandleSpiritOfRedemption( bool apply, bool Real ) } // die at aura end else - m_target->DealDamage(m_target, m_target->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, GetSpellProto(), false); + m_target->setDeathState(JUST_DIED); } void Aura::CleanupTriggeredSpells() |
