diff options
| author | Reinmmar <herwig.orlich@gmail.com> | 2023-09-19 09:56:29 +0200 |
|---|---|---|
| committer | Reinmmar <herwig.orlich@gmail.com> | 2023-09-19 09:56:29 +0200 |
| commit | 20483c258af363bd75c8b2a4f89403cb5e451900 (patch) | |
| tree | 4f8ff8078d269cfa3a8cd797ef374049c1fc07ce /src/playerUtils.c | |
| parent | b4cf2f7a92daadc50222ef92cde3dd7ab20a5de9 (diff) | |
Had a wrong name for an animation
Diffstat (limited to 'src/playerUtils.c')
| -rw-r--r-- | src/playerUtils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/playerUtils.c b/src/playerUtils.c index f30c14bf..ed08376a 100644 --- a/src/playerUtils.c +++ b/src/playerUtils.c @@ -1578,8 +1578,8 @@ void sub_08079064(Entity* this) { } else if ((gPlayerState.swim_state & 0x80) != 0) { gPlayerState.animation = ANIM_DIVE; } else { - if (gPlayerState.animation == ANIM_LANTERN || gPlayerState.animation == ANIM_DOOR || - gPlayerState.animation == ANIM_DOOR_NOCAP) { + if (gPlayerState.animation == ANIM_LANTERN || gPlayerState.animation == ANIM_WALK || + gPlayerState.animation == ANIM_WALK_NOCAP) { sub_080790E4(this); } } @@ -1881,7 +1881,7 @@ void sub_080797EC(void) { if (gPlayerState.framestate == PL_STATE_IDLE) { gPlayerState.framestate = PL_STATE_WALK; } - animation = ANIM_DOOR_NOCAP; + animation = ANIM_WALK_NOCAP; } else { animation = ANIM_SWORD_CHARGE; if (sub_080793E4(0)) { @@ -1931,7 +1931,7 @@ void sub_080797EC(void) { if ((gPlayerState.flags & PL_USE_LANTERN) != 0) { animation = ANIM_LANTERN; } else { - animation = ANIM_DOOR; + animation = ANIM_WALK; } } } |
