Core/Spells: fix shield slam giving nothing to dispel error.

This commit is contained in:
Kandera
2012-03-16 09:08:46 -04:00
parent a50fbb45be
commit bea8fcfbfa

View File

@@ -4959,7 +4959,7 @@ SpellCastResult Spell::CheckCast(bool strict)
for (int i = 0; i < MAX_SPELL_EFFECTS; i++)
if (m_spellInfo->Effects[i].Effect == SPELL_EFFECT_DISPEL)
{
if (m_spellInfo->Effects[i].IsTargetingArea())
if (m_spellInfo->Effects[i].IsTargetingArea() || m_spellInfo->AttributesEx & SPELL_ATTR1_MELEE_COMBAT_START)
{
hasDispellableAura = true;
break;