Skip to content

Commit 3f1b3d2

Browse files
committed
Fix roll out of fancy jump not working out of roll jump
1 parent 1c4a271 commit 3f1b3d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/fancy_jumps.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void onJumpEnd(PlayState *play, Player *this) {
105105
if (recomp_get_config_u32("allow_roll_after_fancy_jump") == MOD_OPT_ALWAYS_ALLOW_ROLL) {
106106
if (this->transformation != PLAYER_FORM_DEKU) {
107107
LinkAnimationHeader *animation = this->skelAnime.animation;
108-
if (animation == &gPlayerAnim_link_normal_newside_jump_20f || animation == &gPlayerAnim_link_normal_newside_jump_20f) {
108+
if (animation == &gPlayerAnim_link_normal_newside_jump_20f || animation == &gPlayerAnim_link_normal_newroll_jump_20f) {
109109
if (shouldRollAfterJump(this)) {
110110
player->stateFlags2 &= ~PLAYER_STATE2_80000;
111111
}

0 commit comments

Comments
 (0)