You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
added hanging fix for real
This commit is contained in:
@@ -70,6 +70,8 @@
|
||||
#define NO_FALSE_LEDGEGRABS
|
||||
// Allows Mario to jump kick on steep surfaces that are set to be non slippery, instead of being forced to dive
|
||||
#define JUMP_KICK_FIX
|
||||
// Allow Mario to grab hangable ceilings from any state
|
||||
#define HANGING_FIX
|
||||
// 46 degree walkicks
|
||||
//#define WALLKICKS_46_DEGREES
|
||||
// Disables fall damage
|
||||
|
||||
@@ -450,8 +450,12 @@ s32 perform_air_quarter_step(struct MarioState *m, Vec3f intendedPos, u32 stepAr
|
||||
m->vel[1] = 0.0f;
|
||||
|
||||
//! Uses referenced ceiling instead of ceil (ceiling hang upwarp)
|
||||
#ifdef HANGING_FIX
|
||||
if (m->ceil != NULL && m->ceil->type == SURFACE_HANGABLE) {
|
||||
#else
|
||||
if ((stepArg & AIR_STEP_CHECK_HANG) && m->ceil != NULL
|
||||
&& m->ceil->type == SURFACE_HANGABLE) {
|
||||
#endif
|
||||
return AIR_STEP_GRABBED_CEILING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user