diff options
author | QAston <none@none> | 2010-01-10 21:24:39 +0100 |
---|---|---|
committer | QAston <none@none> | 2010-01-10 21:24:39 +0100 |
commit | bf33b9b49477d481387357e12ec1399bc40deca2 (patch) | |
tree | aa2a023eabe8bb7a4b7e9432cef47de4de82be35 /src | |
parent | 929a43bb53d7c595e4e54ffa2e0c271f42ae40af (diff) | |
parent | 4374709a38c9726892b2fc03e5d30bd2354d4486 (diff) |
*Merge after backout.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellAuras.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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()); |