aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2017-03-25 13:21:01 +0100
committerfunjoker <funjoker109@gmail.com>2020-04-24 17:18:50 +0200
commit953cdbf205194fbfe8957535879f104c5fa7b281 (patch)
tree020170b5452418777f9c7e2065330e654208751f
parentf135b7aea15e06f4d85ed453da8989f738c5537d (diff)
Fix warning
field '_top' will be initialized after field '_owner' (cherry picked from commit 2b5c765bcdd57e55b62db70527d85723f5a021eb)
-rw-r--r--src/server/game/Movement/MotionMaster.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/MotionMaster.h b/src/server/game/Movement/MotionMaster.h
index 09efe7d3188..c496a0ec4ec 100644
--- a/src/server/game/Movement/MotionMaster.h
+++ b/src/server/game/Movement/MotionMaster.h
@@ -99,7 +99,7 @@ struct JumpArrivalCastArgs
class TC_GAME_API MotionMaster
{
public:
- explicit MotionMaster(Unit* unit) : _top(-1), _owner(unit), _cleanFlag(MMCF_NONE)
+ explicit MotionMaster(Unit* unit) : _owner(unit), _top(-1), _cleanFlag(MMCF_NONE)
{
for (uint8 i = 0; i < MAX_MOTION_SLOT; ++i)
{