diff options
author | Chaplain <aionthefirst@gmail.com> | 2012-01-18 16:26:45 +0300 |
---|---|---|
committer | Chaplain <aionthefirst@gmail.com> | 2012-01-18 16:26:45 +0300 |
commit | 86104943cb5ad053314559c33ec20292e13f27dc (patch) | |
tree | 229b2cf590d41106ee5fda9ab4541721f3450bc2 /src | |
parent | 47b68623021b810f8fdf993f221ee4761ac0d1b1 (diff) |
Core/MotionMaster: Fix logic in MoveLand() and MoveTakeoff()
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Movement/MotionMaster.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index c17f5096748..b07c915165a 100755 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -307,7 +307,7 @@ void MotionMaster::MoveLand(uint32 id, Position const& pos, float speed) init.SetVelocity(speed); init.SetAnimation(Movement::ToGround); init.Launch(); - Mutate(new EffectMovementGenerator(id), MOTION_SLOT_CONTROLLED); + Mutate(new EffectMovementGenerator(id), MOTION_SLOT_ACTIVE); } void MotionMaster::MoveTakeoff(uint32 id, Position const& pos, float speed) @@ -322,7 +322,7 @@ void MotionMaster::MoveTakeoff(uint32 id, Position const& pos, float speed) init.SetVelocity(speed); init.SetAnimation(Movement::ToFly); init.Launch(); - Mutate(new EffectMovementGenerator(id), MOTION_SLOT_CONTROLLED); + Mutate(new EffectMovementGenerator(id), MOTION_SLOT_ACTIVE); } void MotionMaster::MoveKnockbackFrom(float srcX, float srcY, float speedXY, float speedZ) |