Skip to content

Commit e7ba01a

Browse files
disable health loss underwater in level select
1 parent c884d63 commit e7ba01a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/game/mario.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ void update_mario_health(struct MarioState *m) {
14001400
// If using the debug level select, do not lose any HP to water.
14011401
if ((m->pos[1] >= (m->waterLevel - 140)) && !terrainIsSnow) {
14021402
m->health += 0x34;
1403-
} else if (gDebugLevelSelect == 0) {
1403+
} else {
14041404
m->health -= (terrainIsSnow ? 3 : 1);
14051405
}
14061406
} else {

0 commit comments

Comments
 (0)