From dad187615df603ad8614531a0ec84c1a5e136838 Mon Sep 17 00:00:00 2001 From: NoName <322016+Faq@users.noreply.github.com> Date: Tue, 8 Sep 2020 18:12:52 +0300 Subject: Core/Movement: Corrected Animation Tier handling (PR #24875) Co-authored-by: Warpten Co-authored-by: Ovahlord Co-authored-by: Carbenium --- src/server/game/Movement/MotionMaster.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/game/Movement/MotionMaster.cpp') diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index 1dc1a102499..5299421c0a0 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -677,7 +677,7 @@ void MotionMaster::MoveLand(uint32 id, Position const& pos) Movement::MoveSplineInit init(_owner); init.MoveTo(PositionToVector3(pos), false); - init.SetAnimation(Movement::ToGround); + init.SetAnimation(AnimationTier::Ground); Add(new GenericMovementGenerator(std::move(init), EFFECT_MOTION_TYPE, id)); } @@ -687,7 +687,7 @@ void MotionMaster::MoveTakeoff(uint32 id, Position const& pos) Movement::MoveSplineInit init(_owner); init.MoveTo(PositionToVector3(pos)); - init.SetAnimation(Movement::ToFly); + init.SetAnimation(AnimationTier::Hover); Add(new GenericMovementGenerator(std::move(init), EFFECT_MOTION_TYPE, id)); } @@ -829,7 +829,7 @@ void MotionMaster::MoveCirclePath(float x, float y, float z, float radius, bool { init.SetFly(); init.SetCyclic(); - init.SetAnimation(Movement::ToFly); + init.SetAnimation(AnimationTier::Hover); } else { -- cgit v1.2.3