Removed "Disable BLJ" from branch

This commit is contained in:
Zerocker 2020-05-31 14:23:28 +09:00
parent 9917188ec8
commit 4a24cb9d16
1 changed files with 5 additions and 6 deletions

View File

@ -1847,13 +1847,12 @@ s32 act_hold_freefall_land(struct MarioState *m) {
}
s32 act_long_jump_land(struct MarioState *m) {
// Stop right there criminal scum!
if (Cheats.EnableCheats == TRUE && Cheats.DisableBLJ == TRUE) {
// BLJ (Backwards Long Jump) speed build up fix, crushing SimpleFlips's dreams since July 1997
if (m->forwardVel < 0.0f) {
m->forwardVel = 0.0f;
}
#ifdef VERSION_SH
// BLJ (Backwards Long Jump) speed build up fix, crushing SimpleFlips's dreams since July 1997
if (m->forwardVel < 0.0f) {
m->forwardVel = 0.0f;
}
#endif
if (!(m->input & INPUT_Z_DOWN)) {
m->input &= ~INPUT_A_PRESSED;