From ee1a8d4fdd9dac7ac3ca972ff482eee41cff350d Mon Sep 17 00:00:00 2001 From: IbanPlay <56191483+IbanPlay@users.noreply.github.com> Date: Wed, 1 Jun 2022 00:35:23 +0200 Subject: [PATCH] Fast fall only happens when airborne --- CalPlayer/CalamityPlayerMiscEffects.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index a1034feec9..3db9f7c4a9 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -849,7 +849,8 @@ namespace CalamityMod.CalPlayer bool notInLiquid = !Player.wet; bool notOnRope = !Player.pulley && Player.ropeCount == 0; bool notGrappling = Player.grappling[0] == -1; - if (holdingDown && Player.ControlsEnabled() && notInLiquid && notOnRope && notGrappling) + bool airborne = Player.velocity.Y != 0; + if (holdingDown && Player.ControlsEnabled() && notInLiquid && notOnRope && notGrappling && airborne) { Player.velocity.Y += Player.gravity * (BalancingConstants.HoldingDownGravityMultiplier - 1f); if (Player.velocity.Y > Player.maxFallSpeed)