Core/AreaTriggers: Corrected initial "fake" spline point for areatrigger movement

Port From (https://github.com/TrinityCore/TrinityCore/commit/24af663443be84ae2394c27287304ce794024058)
This commit is contained in:
Hondacrx
2025-06-08 18:25:24 -04:00
parent ef142b7c8f
commit c2877fe813
@@ -1062,7 +1062,7 @@ namespace Game.Entities
_movementTime = 0;
_spline = new Spline<int>();
_spline.InitSpline(splinePoints, splinePoints.Length, EvaluationMode.Linear);
_spline.InitSpline(splinePoints, splinePoints.Length, EvaluationMode.Linear, GetStationaryO());
_spline.InitLengths();
float speed = overrideSpeed.GetValueOrDefault(GetCreateProperties().Speed);