diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-06-21 15:35:12 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-06-21 15:35:12 +0200 |
| commit | ac73edc268bc8d5bbda9f4b05168e3e24c25ca45 (patch) | |
| tree | fd150f29abd3fd39a163a24d8322832865f93ccb /src/server/scripts/Battlegrounds | |
| parent | 721103c1c9649fc769a4230216b871319a5f7643 (diff) | |
Core/Movement: Allow setting position or object facing targets for jump movement
Diffstat (limited to 'src/server/scripts/Battlegrounds')
| -rw-r--r-- | src/server/scripts/Battlegrounds/IsleOfConquest/isle_of_conquest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
