mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Fix warning
field '_top' will be initialized after field '_owner'
(cherry picked from commit 2b5c765bcd)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user