*Also call combatstart when applying areaaura/persistant aura

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-02 22:23:51 -06:00
parent f2e88cae51
commit dd2a8443d5
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -190,11 +190,15 @@ inline void Trinity::DynamicObjectUpdater::VisitHelper(Unit* target)
{
if (i_check->IsFriendlyTo( target ))
return;
i_check->CombatStart(target);
}
else
{
if (!i_check->IsHostileTo( target ))
return;
i_check->CombatStart(target);
}
// Check target immune to spell or aura