From 4374709a38c9726892b2fc03e5d30bd2354d4486 Mon Sep 17 00:00:00 2001 From: QAston Date: Sun, 10 Jan 2010 21:24:02 +0100 Subject: Backed out changeset 343bb9cc23ce - mistake fixed in last commit was the real problem. --HG-- branch : trunk --- src/game/SpellAuras.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 727870f2a24..d02957bcb4e 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -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()); -- cgit v1.2.3