summaryrefslogtreecommitdiff
path: root/src/code/z_skelanime.c
diff options
context:
space:
mode:
authorZelllll <56516451+Zelllll@users.noreply.github.com>2021-02-28 21:52:12 -0600
committerGitHub <noreply@github.com>2021-02-28 22:52:12 -0500
commitfb1ed529ad9cfeb13158edbe716deb5aace4f272 (patch)
tree97be08e503eefe3cb3f58338ecdaab025cd45cd6 /src/code/z_skelanime.c
parent5c761c33f077e28b76efc74516271fd033d25cab (diff)
Add OoT actor structs and enums (#55)
* add oot structs * revert formatting * fix comment thing * fix accidental renames * slight fix * naviEnemyId -> hintId * fix headers
Diffstat (limited to 'src/code/z_skelanime.c')
-rw-r--r--src/code/z_skelanime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_skelanime.c b/src/code/z_skelanime.c
index ce2c52a36..98c5eb656 100644
--- a/src/code/z_skelanime.c
+++ b/src/code/z_skelanime.c
@@ -1072,9 +1072,9 @@ void SkelAnime_AnimationType5Loaded(GlobalContext* globalCtx, AnimationEntryType
Vec3f pos;
func_80137748(entry->skelAnime, &pos, actor->shape.rot.y);
- actor->currPosRot.pos.x += (pos.x * actor->scale.x) * entry->unk08;
- actor->currPosRot.pos.y += (pos.y * actor->scale.y) * entry->unk08;
- actor->currPosRot.pos.z += (pos.z * actor->scale.z) * entry->unk08;
+ actor->world.pos.x += (pos.x * actor->scale.x) * entry->unk08;
+ actor->world.pos.y += (pos.y * actor->scale.y) * entry->unk08;
+ actor->world.pos.z += (pos.z * actor->scale.z) * entry->unk08;
}
void func_80135EE8(GlobalContext* globalCtx, AnimationContext* animationCtx) {