From 3deec37c2ccc78aa7763101460d2734680a0f4c9 Mon Sep 17 00:00:00 2001 From: Agent-11 / Agent X <44549182+Agent-11@users.noreply.github.com> Date: Fri, 24 Dec 2021 22:06:37 -0500 Subject: [PATCH] Walk on lava --- src/game/interaction.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 2e923823..8aa97937 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -24,6 +24,7 @@ #include "sound_init.h" #include "thread6.h" #include "moon/achievements/achievements.h" +#include "moon/saturn/saturn_types.h" #define INT_GROUND_POUND_OR_TWIRL (1 << 0) // 0x01 #define INT_PUNCH (1 << 1) // 0x02 @@ -1844,7 +1845,7 @@ void mario_handle_special_floors(struct MarioState *m) { break; } - if (!(m->action & ACT_FLAG_AIR) && !(m->action & ACT_FLAG_SWIMMING)) { + if (!(m->action & ACT_FLAG_AIR) && !(m->action & ACT_FLAG_SWIMMING) && !enable_god) { switch (floorType) { case SURFACE_BURNING: check_lava_boost(m);