Core/Waypoints: Refactor to split data into path and node related info in db (#29506)

This commit is contained in:
ModoX
2024-01-05 17:56:19 +01:00
committed by GitHub
parent 390f0be9fb
commit 12186ef857
29 changed files with 1147 additions and 682 deletions

View File

@@ -1121,7 +1121,7 @@ void MotionMaster::MovePath(WaypointPath const& path, bool repeatable, Optional<
Optional<float> wanderDistanceAtPathEnds, bool followPathBackwardsFromEndToStart, bool generatePath)
{
TC_LOG_DEBUG("movement.motionmaster", "MotionMaster::MovePath: '{}', starts moving over path Id: {} (repeatable: {})",
_owner->GetGUID().ToString(), path.id, repeatable ? "YES" : "NO");
_owner->GetGUID().ToString(), path.Id, repeatable ? "YES" : "NO");
Add(new WaypointMovementGenerator<Creature>(path, repeatable, duration, speed, speedSelectionMode, waitTimeRangeAtPathEnd,
wanderDistanceAtPathEnds, followPathBackwardsFromEndToStart, generatePath), MOTION_SLOT_DEFAULT);
}