aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Movement/MotionMaster.cpp
diff options
context:
space:
mode:
authorRushor <Rushor@users.noreply.github.com>2017-01-20 14:16:47 +0100
committerjackpoz <giacomopoz@gmail.com>2017-01-20 14:16:47 +0100
commita3c6880579f3326088ecbe5b8c08c4b75ed91a59 (patch)
treef2c9356f8b40dc778f14192682fca5c0b3a128bf /src/server/game/Movement/MotionMaster.cpp
parent23f76b563f3002e1557eb5dd75e0d26bd22357ab (diff)
Revert "[3.3.5][master] Core/Movement: Smooth movement #13467 (#18020)" (#18888)
This reverts commit 28050f338dfc66e0c40b6a3915bf96e38e0613e5. Conflicts: src/server/game/AI/SmartScripts/SmartAI.cpp src/server/game/AI/SmartScripts/SmartScriptMgr.cpp
Diffstat (limited to 'src/server/game/Movement/MotionMaster.cpp')
-rw-r--r--src/server/game/Movement/MotionMaster.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp
index 074bc9b86a5..ea3583b0cdf 100644
--- a/src/server/game/Movement/MotionMaster.cpp
+++ b/src/server/game/Movement/MotionMaster.cpp
@@ -680,15 +680,6 @@ void MotionMaster::MovePath(uint32 path_id, bool repeatable)
_owner->GetGUID().GetCounter(), path_id, repeatable ? "YES" : "NO");
}
-void MotionMaster::MovePath(WaypointPath& path, bool repeatable)
-{
- Mutate(new WaypointMovementGenerator<Creature>(path, repeatable), MOTION_SLOT_IDLE);
-
- TC_LOG_DEBUG("misc", "%s (GUID: %u) start moving over path(repeatable: %s)",
- _owner->GetTypeId() == TYPEID_PLAYER ? "Player" : "Creature",
- _owner->GetGUID().GetCounter(), repeatable ? "YES" : "NO");
-}
-
void MotionMaster::MoveRotate(uint32 time, RotateDirection direction)
{
if (!time)