diff options
author | Kudlaty <none@none> | 2009-08-14 15:59:01 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-08-14 15:59:01 +0200 |
commit | 65ba3044dc380911d0024e423cf5162015713f67 (patch) | |
tree | 98598d6560598ec3065969b1a990e35329579e9b /src/game/SpellEffects.cpp | |
parent | 75faad4b9346d6d1983e56d2e5054c2fab17ddcc (diff) | |
parent | 172befc3608426601f7aba28c0c4e959207819f3 (diff) |
merge
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c826c70900a..154357c76f8 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1909,20 +1909,12 @@ void Spell::EffectDummy(uint32 i) { // No power, dismiss Gargoyle if (m_caster->GetPower(POWER_RUNIC_POWER)<30) - m_caster->CastSpell((Unit*)NULL,50515,true); + m_caster->RemoveAurasDueToSpell(50514, m_caster->GetGUID()); else m_caster->ModifyPower(POWER_RUNIC_POWER,-30); return; } - // Dismiss Gargoyle - else if (m_spellInfo->Id == 50515) - { - // FIXME: gargoyle should fly away - unitTarget->setDeathState(JUST_DIED); - m_caster->RemoveAurasDueToSpell(50514); - return; - } break; } |