Allow multiple players to interact with the same BBH cage
This commit is contained in:
parent
f5c2b5ebe0
commit
2a64c806f6
|
@ -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) {
|
if (m->action != ACT_BBH_ENTER_SPIN && m->action != ACT_BBH_ENTER_JUMP) {
|
||||||
mario_stop_riding_and_holding(m);
|
mario_stop_riding_and_holding(m);
|
||||||
|
|
||||||
|
if (m->playerIndex == 0) {
|
||||||
o->oInteractStatus = INT_STATUS_INTERACTED;
|
o->oInteractStatus = INT_STATUS_INTERACTED;
|
||||||
|
}
|
||||||
m->interactObj = o;
|
m->interactObj = o;
|
||||||
m->usedObj = o;
|
m->usedObj = o;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue