diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-06-29 18:15:43 +0200 |
|---|---|---|
| committer | Ovahlord <dreadkiller@gmx.de> | 2024-07-05 04:42:27 +0200 |
| commit | 1d2da6e5896c40dda4ca0fc44379a9a04dedf370 (patch) | |
| tree | 7437ac7eeeb7c2ec373644a4256f4b989b7328dc /src/server/game/AI/SmartScripts | |
| parent | 2addb416c3856c78f50a958c784c3c5514bef827 (diff) | |
Core/Movement: Defined and implemented new spline flag - JumpOrientationFixed
(cherry picked from commit bd9fb4a56303e2bd8046e77d425250b9757aa74c)
Diffstat (limited to 'src/server/game/AI/SmartScripts')
| -rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 64a2a6e8cc1..ad0e71c2c83 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -1973,11 +1973,11 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u { float gravity = e.action.jump.UseDefaultGravity ? Movement::gravity : e.action.jump.Gravity; me->GetMotionMaster()->MoveJumpWithGravity(pos, float(e.action.jump.SpeedXY), gravity, e.action.jump.PointId, - {}, nullptr, nullptr, std::move(actionResultSetter)); + {}, false, nullptr, nullptr, std::move(actionResultSetter)); } else me->GetMotionMaster()->MoveJump(pos, float(e.action.jump.SpeedXY), float(e.action.jump.SpeedZ), e.action.jump.PointId, - {}, nullptr, nullptr, std::move(actionResultSetter)); + {}, false, nullptr, nullptr, std::move(actionResultSetter)); mTimedActionWaitEvent = std::move(waitEvent); break; |
