summaryrefslogtreecommitdiff
path: root/mm/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'mm/src/code')
-rw-r--r--mm/src/code/z_skelanime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/src/code/z_skelanime.c b/mm/src/code/z_skelanime.c
index f48124926..1abe62075 100644
--- a/mm/src/code/z_skelanime.c
+++ b/mm/src/code/z_skelanime.c
@@ -1401,8 +1401,8 @@ void PlayerAnimation_Change(PlayState* play, SkelAnime* skelAnime, PlayerAnimati
skelAnime->morphWeight = 0.0f;
}
+ // We need to restore the original animation because player does `this->skelAnime == &anim` type checks.
skelAnime->animation = ogAnim;
- skelAnime->animation = animation;
skelAnime->curFrame = 0.0f;
skelAnime->startFrame = startFrame;
skelAnime->curFrame = startFrame;