Core/Spells: fix dispel aggro in a less hacky way!

This commit is contained in:
Kandera
2012-05-18 13:49:59 -04:00
parent 7b8bece578
commit d1e0dc3fe0
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -2610,9 +2610,6 @@ void Spell::EffectDispel(SpellEffIndex effIndex)
}
m_caster->SendMessageToSet(&dataSuccess, true);
if (m_caster->IsValidAttackTarget(unitTarget) && !m_caster->isInCombat())
m_caster->CombatStart(unitTarget);
// On success dispel
// Devour Magic
if (m_spellInfo->SpellFamilyName == SPELLFAMILY_WARLOCK && m_spellInfo->Category == SPELLCATEGORY_DEVOUR_MAGIC)