mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-10-18 19:22:41 +00:00
Only have interactions happen for the local player
This commit is contained in:
parent
4b63a16056
commit
bdca8006ca
1 changed files with 1 additions and 1 deletions
|
@ -2160,7 +2160,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 && is_player_active(m)) {
|
||||
if (!(m->action & ACT_FLAG_INTANGIBLE) && m->collidedObjInteractTypes != 0 && is_player_active(m) && m->playerIndex == 0) {
|
||||
s32 i;
|
||||
for (i = 0; i < 32; i++) {
|
||||
u32 interactType = sInteractionHandlers[i].interactType;
|
||||
|
|
Loading…
Reference in a new issue