Core/Misc: Rename AddXXXFlag updatefield functions to SetXXXFlag
Port From (https://github.com/TrinityCore/TrinityCore/commit/b47185cabfbdeeaf492bf2303635db07ce703785)
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Game
|
||||
if (pl.GetStandState() == UnitStandStateType.Stand)
|
||||
pl.SetStandState(UnitStandStateType.Sit);
|
||||
pl.SetRooted(true);
|
||||
pl.AddUnitFlag(UnitFlags.Stunned);
|
||||
pl.SetUnitFlag(UnitFlags.Stunned);
|
||||
}
|
||||
|
||||
SetLogoutStartTime(GameTime.GetGameTime());
|
||||
|
||||
Reference in New Issue
Block a user