Core/Movement: Enable Catmullrom spline flag by default for flying waypoint paths

Port From (https://github.com/TrinityCore/TrinityCore/commit/e0e1b6a4098badb6f48ba1d5cb1cc1739e310959)
This commit is contained in:
Hondacrx
2024-08-18 22:11:34 -04:00
parent 73ff8e4585
commit a162bf0eb7
@@ -485,6 +485,9 @@ namespace Game.Movement
if (_speed.HasValue)
init.SetVelocity(_speed.Value);
if (IsExactSplinePath() && points.Count > 2 && owner.CanFly())
init.SetSmooth();
TimeSpan duration = TimeSpan.FromMilliseconds(init.Launch());
if (!IsExactSplinePath()