mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 05:11:55 +01:00
Core/Movement: Enable Catmullrom spline flag by default for flying waypoint paths
(cherry picked from commit e0e1b6a409)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user