mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
parent
1324ce83be
commit
9427afb14b
1 changed files with 3 additions and 0 deletions
|
|
@ -130,12 +130,15 @@ static s32 find_wall_collisions_from_list(struct SurfaceNode *surfaceNode,
|
|||
}
|
||||
|
||||
// If Mario has a vanish cap, pass through the vanish cap wall.
|
||||
u8 passThroughWall = FALSE;
|
||||
for (int i = 0; i < MAX_PLAYERS; i++) {
|
||||
if (gCurrentObject != NULL && gCurrentObject == gMarioStates[i].marioObj
|
||||
&& (gMarioStates[i].flags & MARIO_VANISH_CAP)) {
|
||||
passThroughWall = TRUE;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
if (passThroughWall) { continue; }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue