aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-02 22:23:51 -0600
committermegamage <none@none>2009-04-02 22:23:51 -0600
commitdd2a8443d58aa770d91c31bbb4bf12d456a9d351 (patch)
tree9cc1485b5631c22cce1002aa18438b0d260a6267 /src/game/SpellAuras.cpp
parentf2e88cae5188b4b1d0451c4a760793a3d881b0b0 (diff)
*Also call combatstart when applying areaaura/persistant aura
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index 4b868812b16..80ac2165a30 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -658,6 +658,9 @@ void AreaAura::Update(uint32 diff)
else
aur = new AreaAura(actualSpellInfo, m_effIndex, NULL, (*tIter), caster, NULL);
(*tIter)->AddAura(aur);
+
+ if(m_areaAuraType == AREA_AURA_ENEMY)
+ caster->CombatStart(*tIter);
}
}
}