aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkandera <kanderacutie@hotmail.com>2012-03-26 15:15:06 -0300
committerkandera <kanderacutie@hotmail.com>2012-03-26 15:15:06 -0300
commit613d5368a56e0a1c4a1e1ace16339f4af62c391d (patch)
treebabd5271a677b39d74f00be22d7f96d6353a9e25 /src
parent8d7f184ee6a62c1f976abfaa5a570412be98a29d (diff)
Core/Spells: and another mistake from the misdirection fix >.>
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_hunter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_hunter.cpp b/src/server/scripts/Spells/spell_hunter.cpp
index 7987c7a7358..5d8e8f84e6a 100644
--- a/src/server/scripts/Spells/spell_hunter.cpp
+++ b/src/server/scripts/Spells/spell_hunter.cpp
@@ -573,7 +573,7 @@ class spell_hun_misdirection : public SpellScriptLoader
void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (Unit* caster = GetCaster())
- if (GetDuration())
+ if (!GetDuration())
caster->SetReducedThreatPercent(0, 0);
}