Skip to content

Commit

Permalink
Fix spring jump speed
Browse files Browse the repository at this point in the history
  • Loading branch information
mechakotik committed Feb 11, 2024
1 parent dc0aeb0 commit 352f676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/character_movement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ void TA_Character::updateAir()
if(jump && !jumpReleased && !links.controller->isPressed(TA_BUTTON_A)) {
jumpReleased = true;
}
if(jumpReleased) {
if(jumpReleased && !spring) {
jumpSpeed = std::max(jumpSpeed, releaseJumpSpeed);
}

Expand Down

0 comments on commit 352f676

Please sign in to comment.