Core/Movement: merged smooth waypoints (commit: 05fb27dae4e8af859e01e5b9e52b082cba217657)
This commit is contained in:
1 parent
9b8b296b8a
commit
6dddfc812c
16 files changed
+618
-642
No files matched your search
@@ -679,6 +679,14 @@ 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 starts moving over path (repeatable: %s).",
|
||||
_owner->GetGUID().ToString().c_str(), repeatable ? "YES" : "NO");
|
||||
}
|
||||
|
||||
void MotionMaster::MoveRotate(uint32 time, RotateDirection direction)
|
||||
{
|
||||
if (!time)
|
||||
|
||||
Reference in new issue
Block a user