Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
This commit is contained in:
@@ -383,10 +383,10 @@ namespace Game.AI
|
||||
if (point)
|
||||
{
|
||||
point.SetObjectScale(SharedConst.BoundaryVisualizeCreatureScale);
|
||||
point.AddUnitFlag(UnitFlags.Stunned);
|
||||
point.SetUnitFlag(UnitFlags.Stunned);
|
||||
point.SetImmuneToAll(true);
|
||||
if (!hasOutOfBoundsNeighbor)
|
||||
point.AddUnitFlag(UnitFlags.Uninteractible);
|
||||
point.SetUnitFlag(UnitFlags.Uninteractible);
|
||||
}
|
||||
Q.Remove(front);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user