From 81cad9fe7db8815c74f0d1ba2d5e5069009e6df6 Mon Sep 17 00:00:00 2001 From: chandler Date: Tue, 7 Apr 2020 23:50:08 -0400 Subject: [PATCH] made limbIndex decimal --- src/overlays/actors/ovl_En_Ani/z_en_ani.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/overlays/actors/ovl_En_Ani/z_en_ani.c b/src/overlays/actors/ovl_En_Ani/z_en_ani.c index 0194f625ea..0b8ca5196d 100644 --- a/src/overlays/actors/ovl_En_Ani/z_en_ani.c +++ b/src/overlays/actors/ovl_En_Ani/z_en_ani.c @@ -322,7 +322,7 @@ s32 EnAni_UpdateMtxFunc(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Ve EnAni* temp; temp = enAni; - if (limbIndex == 0xf) { + if (limbIndex == 15) { rot->x += temp->unk_29C.y; rot->z += temp->unk_29C.x; } @@ -330,7 +330,7 @@ s32 EnAni_UpdateMtxFunc(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Ve } void EnAni_LimbAppendDList(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, EnAni* enAni) { - if (limbIndex == 0xf) { + if (limbIndex == 15) { Matrix_MultVec3f(&EnAniVec, &enAni->actor.posRot2.pos); } }