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:
@@ -2148,6 +2148,7 @@ void Creature::SetInCombatWithZone()
|
|||||||
|
|
||||||
if (pPlayer->isAlive())
|
if (pPlayer->isAlive())
|
||||||
{
|
{
|
||||||
|
this->SetInCombatWith(pPlayer);
|
||||||
pPlayer->SetInCombatWith(this);
|
pPlayer->SetInCombatWith(this);
|
||||||
AddThreat(pPlayer, 0.0f);
|
AddThreat(pPlayer, 0.0f);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user