added toggle to disable fall damage
This commit is contained in:
1 parent
e03f938f12
commit
027ffdba95
2 files changed
+4
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user