aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaplain <aionthefirst@gmail.com>2012-01-18 16:26:45 +0300
committerChaplain <aionthefirst@gmail.com>2012-01-18 16:26:45 +0300
commit86104943cb5ad053314559c33ec20292e13f27dc (patch)
tree229b2cf590d41106ee5fda9ab4541721f3450bc2
parent47b68623021b810f8fdf993f221ee4761ac0d1b1 (diff)
Core/MotionMaster: Fix logic in MoveLand() and MoveTakeoff()
-rwxr-xr-xsrc/server/game/Movement/MotionMaster.cpp4
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)