diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2022-12-30 16:43:15 -0800 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2022-12-30 16:43:48 -0800 |
| commit | 00e2711fc9577251fa228e47154b94ff54a0048f (patch) | |
| tree | fb2c0a5f424b5983ff3517a92e8e88840e03b3fb /src/f_pc/f_pc_leaf.cpp | |
| parent | 6fec278add8d2014c08532075a2fe8ca45192e70 (diff) | |
Match f_op_scene, fix profile structs
Diffstat (limited to 'src/f_pc/f_pc_leaf.cpp')
| -rw-r--r-- | src/f_pc/f_pc_leaf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/f_pc/f_pc_leaf.cpp b/src/f_pc/f_pc_leaf.cpp index 2602f0084c..6da1588191 100644 --- a/src/f_pc/f_pc_leaf.cpp +++ b/src/f_pc/f_pc_leaf.cpp @@ -55,10 +55,10 @@ int g_fpcLf_type; /* 80021B14-80021B88 0074+00 s=1 e=0 z=0 None .text fpcLf_Create__FP14leafdraw_class */ s32 fpcLf_Create(leafdraw_class* pLeaf) { - process_profile_definition* profDef; + leaf_process_profile_definition* profDef; if (pLeaf->mBase.mInitState == 0) { - profDef = (process_profile_definition*)pLeaf->mBase.mpProf; - pLeaf->mpDrawMtd = profDef->mLfDrwMth; + profDef = (leaf_process_profile_definition*)pLeaf->mBase.mpProf; + pLeaf->mpDrawMtd = profDef->mSubMtd; pLeaf->mBase.mSubType = fpcBs_MakeOfType(&g_fpcLf_type); fpcDwPi_Init(&pLeaf->mDwPi, profDef->mPriority); pLeaf->mbUnk0 = 0; |
