fix(Core/Units): Fixed restoring running movement flag after charm. Source: TrinityCore (#12019)

fix(Core/Units): Fixed restoring running movement flag after charm.

Fixes #12018
This commit is contained in:
UltraNix
2022-06-16 13:45:46 +02:00
committed by GitHub
parent ee6ad8d755
commit daff1239d3
2 changed files with 14 additions and 1 deletions

View File

@@ -2548,6 +2548,7 @@ private:
bool m_duringRemoveFromWorld; // lock made to not add stuff after begining removing from world
uint32 _oldFactionId; ///< faction before charm
bool _isWalkingBeforeCharm; ///< Are we walking before we were charmed?
[[nodiscard]] float processDummyAuras(float TakenTotalMod) const;