Walk on lava

This commit is contained in:
Agent-11 / Agent X 2021-12-24 22:06:37 -05:00
parent 3be1aa71ee
commit 3deec37c2c
1 changed files with 2 additions and 1 deletions

View File

@ -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);