diff options
author | Kandera <KanderaDev@gmail.com> | 2012-03-23 09:54:34 -0400 |
---|---|---|
committer | Kandera <KanderaDev@gmail.com> | 2012-03-23 09:54:34 -0400 |
commit | af48083d86ddbcff47994cddbd87d4aac8249a93 (patch) | |
tree | 6befccd0f92a6ae9f404a01c4382c5491673116b | |
parent | 01c997c60feb75163c3c3b8ea99aa24b183609b2 (diff) |
Core/Spells: Fix improved unholy presence removal.
-rw-r--r-- | src/server/scripts/Spells/spell_dk.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/scripts/Spells/spell_dk.cpp b/src/server/scripts/Spells/spell_dk.cpp index 7880aa516b9..c64ee9156d4 100644 --- a/src/server/scripts/Spells/spell_dk.cpp +++ b/src/server/scripts/Spells/spell_dk.cpp @@ -642,9 +642,7 @@ public: void HandleEffectRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/) { - Unit* target = GetTarget(); - if (target->HasAura(DK_SPELL_UNHOLY_PRESENCE)) - target->RemoveAura(DK_SPELL_IMPROVED_UNHOLY_PRESENCE_TRIGGERED); + GetTarget()->RemoveAura(DK_SPELL_IMPROVED_UNHOLY_PRESENCE_TRIGGERED); } void Register() |