mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
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())
|
||||
{
|
||||
this->SetInCombatWith(pPlayer);
|
||||
pPlayer->SetInCombatWith(this);
|
||||
AddThreat(pPlayer, 0.0f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user