mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-30 00:53:46 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -726,7 +726,7 @@ public:
|
||||
// Movement flags
|
||||
void AddUnitMovementFlag(uint32 f) { m_movementInfo.flags |= f; }
|
||||
void RemoveUnitMovementFlag(uint32 f) { m_movementInfo.flags &= ~f; }
|
||||
[[nodiscard]] bool HasUnitMovementFlag(uint32 f) const { return (m_movementInfo.flags & f) == f; }
|
||||
[[nodiscard]] bool HasUnitMovementFlag(uint32 f) const { return (m_movementInfo.flags & f) != 0; }
|
||||
[[nodiscard]] uint32 GetUnitMovementFlags() const { return m_movementInfo.flags; }
|
||||
void SetUnitMovementFlags(uint32 f) { m_movementInfo.flags = f; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user