Skip to content

Commit

Permalink
fixed jump height after diagonal dash ends
Browse files Browse the repository at this point in the history
  • Loading branch information
kot9pa16lvl committed Mar 17, 2024
1 parent 02726f2 commit b0fe7d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CelesteDash/CelesteDash.cs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private bool CanJumpNoDash(On.HeroController.orig_CanJump orig, HeroController s
lastVel.x = maxDashSpeed * Math.Sign(dashDir.x) * 1.2f;
lastVel.y = 0f;
inHyper = true;
} else if (dashDir.y < -0.001f) /// intended ultra
} else if ((dashDir.y < -0.001f) && (Math.Abs(lastVel.x > maxDashSpeed - 0.001f)) /// intended ultra
{
lastVel.x = lastVel.x * 1.2f;
lastVel.y = 0f;
Expand Down

0 comments on commit b0fe7d2

Please sign in to comment.