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/game/AI/SmartScripts | |
| parent | 721103c1c9649fc769a4230216b871319a5f7643 (diff) | |
Core/Movement: Allow setting position or object facing targets for jump movement
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 373cdb97e12..64a2a6e8cc1 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, - false, nullptr, nullptr, std::move(actionResultSetter)); + {}, nullptr, nullptr, std::move(actionResultSetter)); } else me->GetMotionMaster()->MoveJump(pos, float(e.action.jump.SpeedXY), float(e.action.jump.SpeedZ), e.action.jump.PointId, - false, nullptr, nullptr, std::move(actionResultSetter)); + {}, nullptr, nullptr, std::move(actionResultSetter)); mTimedActionWaitEvent = std::move(waitEvent); break; |
