diff options
author | NoName <322016+Faq@users.noreply.github.com> | 2020-09-08 18:12:52 +0300 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-05 15:40:31 +0100 |
commit | ee620856ad2918ae7ce91a37a980d9f2129a074a (patch) | |
tree | 119fcdb41718dc738fce784c149c913d60ea8f0b /src/server/game/Movement/MotionMaster.cpp | |
parent | 358dc78e47a6276e9f511e6510e04865d2d87fd2 (diff) |
Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <vertozor@gmail.com>
Co-authored-by: Ovahlord <dreadkiller@gmx.de>
Co-authored-by: Carbenium <carbenium@outlook.com>
(cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
Diffstat (limited to 'src/server/game/Movement/MotionMaster.cpp')
-rw-r--r-- | src/server/game/Movement/MotionMaster.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index fc41d9138b7..24d81b84e1d 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -678,7 +678,7 @@ void MotionMaster::MoveLand(uint32 id, Position const& pos) Movement::MoveSplineInit init(_owner); init.MoveTo(PositionToVector3(pos), false); - init.SetAnimation(Movement::ToGround); + init.SetAnimation(AnimTier::Ground); Add(new GenericMovementGenerator(std::move(init), EFFECT_MOTION_TYPE, id)); } @@ -688,7 +688,7 @@ void MotionMaster::MoveTakeoff(uint32 id, Position const& pos) Movement::MoveSplineInit init(_owner); init.MoveTo(PositionToVector3(pos)); - init.SetAnimation(Movement::ToFly); + init.SetAnimation(AnimTier::Hover); Add(new GenericMovementGenerator(std::move(init), EFFECT_MOTION_TYPE, id)); } @@ -881,7 +881,7 @@ void MotionMaster::MoveCirclePath(float x, float y, float z, float radius, bool { init.SetFly(); init.SetCyclic(); - init.SetAnimation(Movement::ToFly); + init.SetAnimation(AnimTier::Hover); } else { |