Core/AreaTriggers: Corrected initial "fake" spline point for areatrigger movement
Port From (https://github.com/TrinityCore/TrinityCore/commit/24af663443be84ae2394c27287304ce794024058)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user