summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_leaf.cpp
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2021-12-23 17:10:39 -0800
committerJasper St. Pierre <jstpierre@mecheye.net>2021-12-23 17:10:39 -0800
commit045fefcab74887e74eb6e6b462f9c50a09486ea9 (patch)
tree12878a613b3699077113e5a043cc26dff8fba137 /src/f_pc/f_pc_leaf.cpp
parent2ec3e1f18943e34cba68df711b88937274709297 (diff)
minor cleanups
Diffstat (limited to 'src/f_pc/f_pc_leaf.cpp')
-rw-r--r--src/f_pc/f_pc_leaf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/f_pc/f_pc_leaf.cpp b/src/f_pc/f_pc_leaf.cpp
index 3cbb59348b..3acfcaf771 100644
--- a/src/f_pc/f_pc_leaf.cpp
+++ b/src/f_pc/f_pc_leaf.cpp
@@ -60,7 +60,7 @@ s32 fpcLf_Create(leafdraw_class* pLeaf) {
profDef = (leaf_process_profile_definition*)pLeaf->mBase.mpProf;
pLeaf->mpDrawMtd = profDef->mLfDrwMth;
pLeaf->mBase.mSubType = fpcBs_MakeOfType(&g_fpcLf_type);
- fpcDwPi_Init(&pLeaf->mDwPi, profDef->unk20);
+ fpcDwPi_Init(&pLeaf->mDwPi, profDef->mPriority);
pLeaf->mbUnk0 = 0;
}
return fpcMtd_Create(&pLeaf->mpDrawMtd->mBase, pLeaf);