From 931ee9ca1391f27dbc7ea0127e0c156139036e79 Mon Sep 17 00:00:00 2001 From: MysterD Date: Fri, 2 Oct 2020 23:37:15 -0700 Subject: [PATCH] Prevented bubbled players from interacting with objects --- src/game/interaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/interaction.c b/src/game/interaction.c index 76824702..3975e7e7 100644 --- a/src/game/interaction.c +++ b/src/game/interaction.c @@ -1990,7 +1990,7 @@ void mario_process_interactions(struct MarioState *m) { sDelayInvincTimer = FALSE; sInvulnerable = (m->action & ACT_FLAG_INVULNERABLE) || m->invincTimer != 0; - if (!(m->action & ACT_FLAG_INTANGIBLE) && m->collidedObjInteractTypes != 0) { + if (!(m->action & ACT_FLAG_INTANGIBLE) && m->collidedObjInteractTypes != 0 && is_player_active(m)) { s32 i; for (i = 0; i < 32; i++) { u32 interactType = sInteractionHandlers[i].interactType;