Core: Creature should aggro player when players aggro creature during SetInCombatWithZone (otherwise, creature will remain not in combat).

--HG--
branch : trunk
This commit is contained in:
John Holiver
2010-08-21 02:15:19 -03:00
parent fcca6060d0
commit 6e6d62def9

View File

@@ -2148,6 +2148,7 @@ void Creature::SetInCombatWithZone()
if (pPlayer->isAlive())
{
this->SetInCombatWith(pPlayer);
pPlayer->SetInCombatWith(this);
AddThreat(pPlayer, 0.0f);
}