Backed out changeset 343bb9cc23ce - mistake fixed in last commit was the real problem.

--HG--
branch : trunk
This commit is contained in:
QAston
2010-01-10 21:24:02 +01:00
parent 334de07dfb
commit 4374709a38

View File

@@ -1435,6 +1435,10 @@ void UnitAura::UpdateTargetMapForEffect(Unit * caster, uint8 effIndex)
continue;
// add new unit to persistent area aura
(*appIter)->_ApplyAuraEffect(this, effIndex);
// start combat with targeted enemy
if(GetSpellProto()->Effect[effIndex] == SPELL_EFFECT_APPLY_AREA_AURA_ENEMY)
GetUnitOwner()->CombatStart(*appIter);
}
itr = m_applications.find((*appIter)->GetGUID());