added toggle to disable fall damage

This commit is contained in:
Reonu
2021-06-27 12:57:07 +01:00
parent e03f938f12
commit 027ffdba95
2 changed files with 4 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ s32 lava_boost_on_wall(struct MarioState *m) {
}
s32 check_fall_damage(struct MarioState *m, u32 hardFallAction) {
#ifndef NO_FALL_DAMAGE
f32 fallHeight;
f32 damageHeight;
@@ -97,7 +98,7 @@ s32 check_fall_damage(struct MarioState *m, u32 hardFallAction) {
}
}
}
#endif
return FALSE;
}