added toggle to disable fall damage

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

No files matched your search

+2 -1
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;
}