From ac73edc268bc8d5bbda9f4b05168e3e24c25ca45 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 21 Jun 2024 15:35:12 +0200 Subject: Core/Movement: Allow setting position or object facing targets for jump movement --- src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/scripts/Battlegrounds') diff --git a/src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp b/src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp index 357e7bba238..460572978d5 100644 --- a/src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp +++ b/src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp @@ -258,7 +258,7 @@ class StartLaunchEvent : public BasicEvent float dist = player->GetExactDist2d(&_pos); player->ExitVehicle(); - player->GetMotionMaster()->MoveJump(_pos, dist, speedZ, EVENT_JUMP, true); + player->GetMotionMaster()->MoveJump(_pos, dist, speedZ, EVENT_JUMP, _pos.GetOrientation()); return true; } -- cgit v1.2.3