Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
This commit is contained in:
@@ -299,7 +299,7 @@ namespace Game.Combat
|
||||
|
||||
if (combatState)
|
||||
{
|
||||
_owner.AddUnitFlag(UnitFlags.InCombat);
|
||||
_owner.SetUnitFlag(UnitFlags.InCombat);
|
||||
_owner.AtEnterCombat();
|
||||
if (!_owner.IsCreature())
|
||||
_owner.AtEngage(GetAnyTarget());
|
||||
|
||||
Reference in New Issue
Block a user