Fix warning

field '_top' will be initialized after field '_owner'

(cherry picked from commit 2b5c765bcd)
This commit is contained in:
ccrs
2017-03-25 13:21:01 +01:00
committed by funjoker
parent f135b7aea1
commit 953cdbf205

View File

@@ -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)
{