summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_leaf.cpp
diff options
context:
space:
mode:
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 b1906bf733..bb343afd34 100644
--- a/src/f_pc/f_pc_leaf.cpp
+++ b/src/f_pc/f_pc_leaf.cpp
@@ -57,7 +57,7 @@ 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* i_leaf) {
- if (i_leaf->base.init_state == 0) {
+ if (i_leaf->base.state.init_state == 0) {
leaf_process_profile_definition* pprofile = (leaf_process_profile_definition*)i_leaf->base.profile;
i_leaf->leaf_methods = pprofile->sub_method;
i_leaf->base.subtype = fpcBs_MakeOfType(&g_fpcLf_type);