mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-10 03:59:05 +01:00
Core/Movement: flight waypoint movement is now correctly using catmullrom and uncompressed splines
This commit is contained in:
@@ -232,6 +232,13 @@ void WaypointMovementGenerator<Creature>::StartMove(Creature* creature, bool rel
|
||||
break;
|
||||
}
|
||||
|
||||
if (creature->CanFly())
|
||||
{
|
||||
init.SetFly();
|
||||
init.SetSmooth();
|
||||
init.SetUncompressed();
|
||||
}
|
||||
|
||||
if (waypoint.Velocity > 0.f)
|
||||
init.SetVelocity(waypoint.Velocity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user