diff --git a/include/z64animation.h b/include/z64animation.h index 1319be5fc9..2a63f251b9 100644 --- a/include/z64animation.h +++ b/include/z64animation.h @@ -154,7 +154,7 @@ typedef struct { /* 0x0 */ AnimationHeaderCommon common; /* 0x4 */ union { void* segmentVoid; - struct PlayerAnimationFrame* segment; + struct PlayerAnimationFrame* linkAnimSegment; }; } PlayerAnimationHeader; // size = 0x8 diff --git a/src/code/z_skelanime.c b/src/code/z_skelanime.c index 4affb11b8e..562afde026 100644 --- a/src/code/z_skelanime.c +++ b/src/code/z_skelanime.c @@ -1011,7 +1011,7 @@ void AnimationContext_SetLoadFrame(PlayState* play, PlayerAnimationHeader* anima osCreateMesgQueue(&entry->data.load.msgQueue, entry->data.load.msg, ARRAY_COUNT(entry->data.load.msg)); DmaMgr_SendRequestImpl( &entry->data.load.req, ram, - LINK_ANIMETION_OFFSET(playerAnimHeader->segment, (sizeof(Vec3s) * limbCount + sizeof(s16)) * frame), + LINK_ANIMETION_OFFSET(playerAnimHeader->linkAnimSegment, (sizeof(Vec3s) * limbCount + sizeof(s16)) * frame), sizeof(Vec3s) * limbCount + sizeof(s16), 0, &entry->data.load.msgQueue, NULL); } }