aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2017-03-25 13:21:01 +0100
committerccrs <ccrs@users.noreply.github.com>2017-03-25 13:21:01 +0100
commit2b5c765bcdd57e55b62db70527d85723f5a021eb (patch)
tree9c1c7bede3404204dacae1a0e4a1d5dd36997c8a /src
parent9be7f5f57b897888983a9ca6f441479f3571513c (diff)
Fix warning
field '_top' will be initialized after field '_owner'
Diffstat (limited to 'src')
-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 c004d697271..0976076f0af 100644
--- a/src/server/game/Movement/MotionMaster.h
+++ b/src/server/game/Movement/MotionMaster.h
@@ -82,7 +82,7 @@ enum RotateDirection
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)
{