mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 03:51:46 +00:00
Prevent bubbled players from 'dying' to quicksand again
This commit is contained in:
parent
9c8a58fa5b
commit
8c1ec4beba
1 changed files with 2 additions and 0 deletions
|
|
@ -2776,6 +2776,8 @@ static s32 check_for_instant_quicksand(struct MarioState *m) {
|
|||
// never kill remote marios
|
||||
return FALSE;
|
||||
}
|
||||
if (m->action == ACT_BUBBLED) { return FALSE; }
|
||||
|
||||
if (m->floor->type == SURFACE_INSTANT_QUICKSAND && m->action & ACT_FLAG_INVULNERABLE
|
||||
&& m->action != ACT_QUICKSAND_DEATH) {
|
||||
update_mario_sound_and_camera(m);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue