mirror of https://github.com/sm64pc/sm64pc.git
Update mario_actions_moving.c
This commit is contained in:
parent
6e5464a9a0
commit
f66c00c555
|
@ -1235,11 +1235,11 @@ s32 act_riding_shell_ground(struct MarioState *m) {
|
|||
break;
|
||||
|
||||
case GROUND_STEP_HIT_WALL:
|
||||
mario_stop_riding_object(m);
|
||||
if (!Cheats.EnableCheats || !Cheats.ForeverShell) { mario_stop_riding_object(m); }
|
||||
play_sound(m->flags & MARIO_METAL_CAP ? SOUND_ACTION_METAL_BONK : SOUND_ACTION_BONK,
|
||||
m->marioObj->header.gfx.cameraToObject);
|
||||
m->particleFlags |= PARTICLE_VERTICAL_STAR;
|
||||
set_mario_action(m, ACT_BACKWARD_GROUND_KB, 0);
|
||||
if (!Cheats.EnableCheats || !Cheats.ForeverShell) { set_mario_action(m, ACT_BACKWARD_GROUND_KB, 0); }
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue