Core/Units: Removed spline speed limit for MoveJumpWithGravity (#28142)

This commit is contained in:
Teleqraph
2022-07-24 22:20:35 +02:00
committed by GitHub
parent 3598d280ff
commit 96295cfc5f
2 changed files with 7 additions and 0 deletions

View File

@@ -873,6 +873,7 @@ void MotionMaster::MoveJumpWithGravity(Position const& pos, float speedXY, float
init.SetParabolicVerticalAcceleration(gravity, 0);
init.SetUncompressed();
init.SetVelocity(speedXY);
init.SetUnlimitedSpeed();
if (hasOrientation)
init.SetFacing(pos.GetOrientation());
if (effect)