TrinityCore/TrinityCore — comment on commit 8a72aede1641ae19d539ed807e3bb0458c7a65e8
File:  line 0
By Vincent-Michael:

try:

```c++
src/server/game/Movement/MotionMaster.h | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/server/game/Movement/MotionMaster.h b/src/server/game/Movement/MotionMaster.h
index 83ff81a..b610a30 100755
--- a/src/server/game/Movement/MotionMaster.h
+++ b/src/server/game/Movement/MotionMaster.h
@@ -84,6 +84,9 @@ class MotionMaster //: private std::stack
//typedef std::stack Impl;
typedef MovementGenerator* _Ty;

+ bool _needInit[MAX_MOTION_SLOT];
+ int _top;
+
void pop() { Impl[_top] = NULL; --_top; }
void push(_Ty _Val) { ++_top; Impl[_top] = _Val; }

@@ -186,9 +189,7 @@ class MotionMaster //: private std::stack
typedef std::vector<_Ty> ExpireList;
ExpireList* _expList;
_Ty Impl[MAX_MOTION_SLOT];
- int _top;
Unit* _owner;
- bool _needInit[MAX_MOTION_SLOT];
uint8 _cleanFlag;
};
#endif
```