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

(cherry picked from commit e0e1b6a409)
This commit is contained in:
Shauren
2024-04-24 09:46:57 +02:00
committed by Ovahlord
parent 86fb1fc161
commit b7677bf211

View File

@@ -567,6 +567,9 @@ void WaypointMovementGenerator<Creature>::StartMove(Creature* owner, bool relaun
if (_speed)
init.SetVelocity(*_speed);
if (IsExactSplinePath() && points.size() > 2 && owner->CanFly())
init.SetSmooth();
Milliseconds duration(init.Launch());
if (!IsExactSplinePath()