Skip to content

Commit

Permalink
fix uncrouch anim when holding heavier weapon
Browse files Browse the repository at this point in the history
  • Loading branch information
headshot2017 committed Jan 15, 2024
1 parent a8ed048 commit b380450
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libsm64/src/decomp/game/mario_actions_stationary.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ s32 act_stop_crouching(struct MarioState *m) {
return set_mario_action(m, ACT_BEGIN_SLIDING, 0);
}

m->marioObj->header.gfx.animInfo.animOverride.wanted = 0;
stationary_ground_step(m);
set_mario_animation(m, MARIO_ANIM_STOP_CROUCHING);
if (is_anim_past_end(m)) {
Expand Down

0 comments on commit b380450

Please sign in to comment.