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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user