diff options
Diffstat (limited to 'src/game/MotionMaster.cpp')
| -rw-r--r-- | src/game/MotionMaster.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/MotionMaster.cpp b/src/game/MotionMaster.cpp index 51e684c5a6c..b31d3231a3b 100644 --- a/src/game/MotionMaster.cpp +++ b/src/game/MotionMaster.cpp @@ -333,7 +333,6 @@ void MotionMaster::MoveJump(float x, float y, float z, float speedXY, float spee { uint32 moveFlag = MOVEFLAG_JUMP | MOVEFLAG_WALK; uint32 time = speedZ * 100; - i_owner->SendMonsterMove(x, y, z, moveFlag, time, speedZ); i_owner->addUnitState(UNIT_STAT_CHARGING | UNIT_STAT_JUMPING); i_owner->m_TempSpeed = speedXY; @@ -348,6 +347,8 @@ void MotionMaster::MoveJump(float x, float y, float z, float speedXY, float spee i_owner->GetEntry(), i_owner->GetGUIDLow(), x, y, z ); Mutate(new PointMovementGenerator<Creature>(0,x,y,z), MOTION_SLOT_CONTROLLED); } + + i_owner->SendMonsterMove(x, y, z, moveFlag, time, speedZ); } void |
