mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-22 12:05:11 +00:00
Prevent softlock when entering a cannon near water (Star Road)
This commit is contained in:
parent
9217b799b4
commit
77313ee8fd
1 changed files with 1 additions and 0 deletions
|
@ -1291,6 +1291,7 @@ s32 transition_submerged_to_walking(struct MarioState *m) {
|
|||
*/
|
||||
s32 set_water_plunge_action(struct MarioState *m) {
|
||||
if (m->action == ACT_BUBBLED) { return FALSE; }
|
||||
if (m->action == ACT_IN_CANNON) { return FALSE; }
|
||||
|
||||
m->forwardVel = m->forwardVel / 4.0f;
|
||||
m->vel[1] = m->vel[1] / 2.0f;
|
||||
|
|
Loading…
Reference in a new issue