aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Movement/MotionMaster.cpp
diff options
context:
space:
mode:
authorGolrag <Golrag@users.noreply.github.com>2017-07-13 17:50:13 +0200
committerShauren <shauren.trinity@gmail.com>2017-07-13 17:50:13 +0200
commit9128b00f591432a7d17cedfd7934b46b99acae30 (patch)
tree0d97e26ecfb2cecfda090878540be504a6e14c92 /src/server/game/Movement/MotionMaster.cpp
parente5648c8d68fdbb34e79f1985d1cc4035b551b411 (diff)
Core/Movement: Set CatmullRom only when flying when using MoveSmoothPath (#19903)
Diffstat (limited to 'src/server/game/Movement/MotionMaster.cpp')
-rw-r--r--src/server/game/Movement/MotionMaster.cpp2
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();