Fix a rare bug where Mario becomes indefinitely intangible when respawning

This commit is contained in:
PeachyPeachSM64 2025-11-24 22:16:51 +01:00
parent 234b7686e2
commit 454e567ca8

View file

@ -1577,7 +1577,6 @@ void update_mario_geometry_inputs(struct MarioState *m) {
} else { } else {
vec3s_to_vec3f(m->pos, m->spawnInfo->startPos); vec3s_to_vec3f(m->pos, m->spawnInfo->startPos);
m->faceAngle[1] = m->spawnInfo->startAngle[1]; m->faceAngle[1] = m->spawnInfo->startAngle[1];
if (mario_can_bubble(m)) { mario_set_bubbled(m); }
struct Surface* floor = NULL; struct Surface* floor = NULL;
find_floor(m->pos[0], m->pos[1], m->pos[2], &floor); find_floor(m->pos[0], m->pos[1], m->pos[2], &floor);
if (floor == NULL) { if (floor == NULL) {