Core/Combat: Properly unset engagement flag on death.
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b1ca0ca128425677043d36a147a019f6d2ac6e6)
This commit is contained in:
@@ -858,8 +858,6 @@ namespace Game.Entities
|
||||
|
||||
if (!creature.IsPet())
|
||||
{
|
||||
creature.GetThreatManager().ClearAllThreat();
|
||||
|
||||
// must be after setDeathState which resets dynamic flags
|
||||
if (!creature.loot.IsLooted())
|
||||
creature.AddDynamicFlag(UnitDynFlags.Lootable);
|
||||
|
||||
Reference in New Issue
Block a user