Core/Movement: move MoveSplineInit

Port From (https://github.com/TrinityCore/TrinityCore/commit/d59a6af9c694713fd868db4bae09df3f8b9e041e)
This commit is contained in:
hondacrx
2021-09-26 13:45:04 -04:00
parent 365da29692
commit 53ad19d2f9
9 changed files with 144 additions and 104 deletions
+1 -1
View File
@@ -641,7 +641,7 @@ namespace Game.Entities
init.MoveTo(veSeat.AttachmentOffset.X, veSeat.AttachmentOffset.Y, veSeat.AttachmentOffset.Z, false, true);
init.SetFacing(0.0f);
init.SetTransportEnter();
init.Launch();
Passenger.GetMotionMaster().LaunchMoveSpline(init, EventId.VehicleBoard, MovementSlot.Controlled);
Creature creature = Target.GetBase().ToCreature();
if (creature != null)