diff options
author | Golrag <Golrag@users.noreply.github.com> | 2017-07-13 17:50:13 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2017-07-13 17:50:13 +0200 |
commit | 9128b00f591432a7d17cedfd7934b46b99acae30 (patch) | |
tree | 0d97e26ecfb2cecfda090878540be504a6e14c92 | |
parent | e5648c8d68fdbb34e79f1985d1cc4035b551b411 (diff) |
Core/Movement: Set CatmullRom only when flying when using MoveSmoothPath (#19903)
-rw-r--r-- | src/server/game/Movement/MotionMaster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index 6d60c96d72a..f0ba4fa0d0c 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -465,6 +465,7 @@ void MotionMaster::MoveSmoothPath(uint32 pointId, Position const* pathPoints, si { init.SetFly(); init.SetUncompressed(); + init.SetSmooth(); } Movement::PointsArray path; @@ -474,7 +475,6 @@ void MotionMaster::MoveSmoothPath(uint32 pointId, Position const* pathPoints, si return G3D::Vector3(point.GetPositionX(), point.GetPositionY(), point.GetPositionZ()); }); init.MovebyPath(path); - init.SetSmooth(); init.SetWalk(walk); init.Launch(); |