Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to GetMotionMaster()->MovePath and kill it (they now have the same capabilities)

Port From (https://github.com/TrinityCore/TrinityCore/commit/dad976beb4f1a865e5df5d6f03da1d00d266e1fc)
This commit is contained in:
Hondacrx
2024-08-19 11:37:07 -04:00
parent a162bf0eb7
commit 5508d53db2
4 changed files with 383 additions and 344 deletions
@@ -90,9 +90,6 @@ namespace Game.Movement
if (path.Count > 2)
{
if ((path[2] - path[1]).Length() < 0.1f)
return false;
Vector3 middle = (path.First() + path.Last()) / 2;
for (int i = 1; i < path.Count - 1; ++i)
{