mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-26 14:03:01 +00:00
Allow bubbled players to go through elevators
This commit is contained in:
parent
196ac547ef
commit
c50794773c
1 changed files with 7 additions and 0 deletions
|
@ -155,4 +155,11 @@ struct SpawnParticlesInfo D_8032F3FC = { 0, 5, MODEL_WHITE_PARTICLE_DL, 0,
|
|||
|
||||
void bhv_elevator_loop(void) {
|
||||
cur_obj_call_action_function(sElevatorActions);
|
||||
|
||||
// allow bubbled players to pass through
|
||||
if (gMarioStates[0].action == ACT_BUBBLED) {
|
||||
cur_obj_become_intangible();
|
||||
} else {
|
||||
cur_obj_become_tangible();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue