summaryrefslogtreecommitdiff
path: root/src/code/z_sub_s.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/code/z_sub_s.c')
-rw-r--r--src/code/z_sub_s.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/z_sub_s.c b/src/code/z_sub_s.c
index e630ed150..3cc7ffb87 100644
--- a/src/code/z_sub_s.c
+++ b/src/code/z_sub_s.c
@@ -121,10 +121,10 @@ Gfx* SubS_DrawTransformFlex(PlayState* play, void** skeleton, Vec3s* jointTable,
gSPSegment(gfx++, 0x0D, mtx);
Matrix_Push();
rootLimb = Lib_SegmentedToVirtual(skeleton[0]);
- pos.x = jointTable->x;
- pos.y = jointTable->y;
- pos.z = jointTable->z;
- rot = jointTable[1];
+ pos.x = jointTable[LIMB_ROOT_POS].x;
+ pos.y = jointTable[LIMB_ROOT_POS].y;
+ pos.z = jointTable[LIMB_ROOT_POS].z;
+ rot = jointTable[LIMB_ROOT_ROT];
newDlist = rootLimb->dList;
limbDList = rootLimb->dList;