Fix mistake from not realizing Mtx is an array

This commit is contained in:
Dylan Ascencio
2023-09-11 19:55:16 -04:00
parent 7ba8ae3b76
commit b8212afd8c
+3 -3
View File
@@ -41,10 +41,10 @@ s32 daSceneChgCreate(void* i_this) {
fopAcM_SetupActor(scnChg, d_a_scene_change_c);
MTXTrans(&mDoMtx_stack_c::now[0], scnChg->current.pos.x, scnChg->current.pos.y, scnChg->current.pos.z);
mDoMtx_ZXYrotM(&mDoMtx_stack_c::now[0], scnChg->shape_angle.x, scnChg->shape_angle.y, scnChg->shape_angle.z);
MTXTrans(mDoMtx_stack_c::now, scnChg->current.pos.x, scnChg->current.pos.y, scnChg->current.pos.z);
mDoMtx_ZXYrotM(mDoMtx_stack_c::now, scnChg->shape_angle.x, scnChg->shape_angle.y, scnChg->shape_angle.z);
MTXCopy(&mDoMtx_stack_c::now[0], &scnChg->mTransformMtx[0]);
MTXCopy(mDoMtx_stack_c::now, scnChg->mTransformMtx);
return cPhs_COMPLEATE_e;
}