1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-27 23:36:22 +00:00

made limbIndex decimal

This commit is contained in:
chandler 2020-04-07 23:50:08 -04:00
parent 2b8bc8ce6d
commit 81cad9fe7d

View file

@ -322,7 +322,7 @@ s32 EnAni_UpdateMtxFunc(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Ve
EnAni* temp; EnAni* temp;
temp = enAni; temp = enAni;
if (limbIndex == 0xf) { if (limbIndex == 15) {
rot->x += temp->unk_29C.y; rot->x += temp->unk_29C.y;
rot->z += temp->unk_29C.x; 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) { 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); Matrix_MultVec3f(&EnAniVec, &enAni->actor.posRot2.pos);
} }
} }