aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-03-23 09:54:34 -0400
committerKandera <KanderaDev@gmail.com>2012-03-23 09:54:34 -0400
commitaf48083d86ddbcff47994cddbd87d4aac8249a93 (patch)
tree6befccd0f92a6ae9f404a01c4382c5491673116b
parent01c997c60feb75163c3c3b8ea99aa24b183609b2 (diff)
Core/Spells: Fix improved unholy presence removal.
-rw-r--r--src/server/scripts/Spells/spell_dk.cpp4
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()