aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKandera <KanderaDev@gmail.com>2012-03-15 12:41:16 -0400
committerKandera <KanderaDev@gmail.com>2012-03-15 12:41:16 -0400
commitfe46cf97961a82c43c9f287deecf40049b1fed19 (patch)
treef49d1e63813aa02e87572df8f759411f1a911e5e /src
parent5e25791bffd89f82bad0e29d5a33817096f0f457 (diff)
Core/Spells: Fix being unable to use spells due hasDispellableAura being false if no spell effects were SPELL_EFFECT_DISPEL
Diffstat (limited to 'src')
-rwxr-xr-xsrc/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 b18dce77b18..b1b23753832 100755
--- a/src/server/game/Spells/Spell.cpp
+++ b/src/server/game/Spells/Spell.cpp
@@ -4953,7 +4953,7 @@ SpellCastResult Spell::CheckCast(bool strict)
}
}
- if (!hasDispellableAura)
+ if (!hasDispellableAura && m_spellInfo->HasEffect(SPELL_EFFECT_DISPEL))
return SPELL_FAILED_NOTHING_TO_DISPEL;
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)