Added option to disable BLJs

This commit is contained in:
Reonu committed 2021-07-01 10:28:34 +01:00
1 parent 8abd187c6e
commit 8c9e2a48ef
3 files changed
+6 -1

No files matched your search

+3 -1
View File
@@ -13,6 +13,8 @@
#include "behavior_data.h"
#include "rumble_init.h"
#include "config.h"
struct LandingAction {
s16 numFrames;
s16 unk02;
@@ -1845,7 +1847,7 @@ s32 act_hold_freefall_land(struct MarioState *m) {
}
s32 act_long_jump_land(struct MarioState *m) {
#ifdef VERSION_SH
#if defined (VERSION_SH) || defined(DISABLE_BLJ)
// BLJ (Backwards Long Jump) speed build up fix, crushing SimpleFlips's dreams since July 1997
if (m->forwardVel < 0.0f) {
m->forwardVel = 0.0f;