aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2016-11-14 13:56:09 -0300
committerariel- <ariel-@users.noreply.github.com>2016-11-14 13:59:32 -0300
commit1ad9c7d3fd4e7cfb2a6b12fc37bd748cf5fd772b (patch)
tree5ebed7ce4d9b85b623d8c805af5e9d0e797e6c8b
parent674ac56303f0e80a7bfc5390ce450028e1f07c12 (diff)
Core/Spell: fix typo
Closes #18248
-rw-r--r--src/server/game/Spells/Spell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp
index a35f36f5e81..54e04c087d2 100644
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -5768,7 +5768,7 @@ SpellCastResult Spell::CheckCasterAuras(uint32* param1) const
// Get unit state
uint32 const unitflag = m_caster->GetUInt32Value(UNIT_FIELD_FLAGS);
- if (m_caster->GetCharmerGUID() && !CheckCasterNotImmunedCharmAuras(param1))
+ if (m_caster->GetCharmerGUID() && CheckCasterNotImmunedCharmAuras(param1))
result = SPELL_FAILED_CHARMED;
else if (unitflag & UNIT_FLAG_STUNNED && !usableWhileStunned && CheckCasterNotImmunedStunAuras(param1))
result = SPELL_FAILED_STUNNED;