Allow multiple players to interact with the same BBH cage

This commit is contained in:
MysterD 2021-08-12 18:18:28 -07:00
parent f5c2b5ebe0
commit 2a64c806f6
1 changed files with 3 additions and 1 deletions

View File

@ -939,7 +939,9 @@ u32 interact_bbh_entrance(struct MarioState *m, UNUSED u32 interactType, struct
if (m->action != ACT_BBH_ENTER_SPIN && m->action != ACT_BBH_ENTER_JUMP) {
mario_stop_riding_and_holding(m);
o->oInteractStatus = INT_STATUS_INTERACTED;
if (m->playerIndex == 0) {
o->oInteractStatus = INT_STATUS_INTERACTED;
}
m->interactObj = o;
m->usedObj = o;