summaryrefslogtreecommitdiff
path: root/src/f_pc/f_pc_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/f_pc/f_pc_base.cpp')
-rw-r--r--src/f_pc/f_pc_base.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/f_pc/f_pc_base.cpp b/src/f_pc/f_pc_base.cpp
index a422bea1a2..f9f73276aa 100644
--- a/src/f_pc/f_pc_base.cpp
+++ b/src/f_pc/f_pc_base.cpp
@@ -145,7 +145,7 @@ base_process_class* fpcBs_Create(s16 i_profname, fpc_ProcID i_procID, void* i_ap
fpcPi_Init(&pprocess->priority, pprocess, pprofile->layer_id, pprofile->list_id,
pprofile->list_priority);
- pprocess->init_state = 0;
+ pprocess->state.init_state = 0;
pprocess->unk_0xA = 0;
pprocess->id = i_procID;
pprocess->profname = i_profname;
@@ -164,19 +164,19 @@ int fpcBs_SubCreate(base_process_class* i_proc) {
case cPhs_NEXT_e:
case cPhs_COMPLEATE_e:
fpcBs_DeleteAppend(i_proc);
- i_proc->create_phase = cPhs_NEXT_e;
+ i_proc->state.create_phase = cPhs_NEXT_e;
return cPhs_NEXT_e;
case cPhs_INIT_e:
- case cPhs_LOADING_e:
- i_proc->init_state = 1;
- i_proc->create_phase = cPhs_INIT_e;
+case cPhs_LOADING_e:
+ i_proc->state.init_state = 1;
+ i_proc->state.create_phase = cPhs_INIT_e;
return cPhs_INIT_e;
case cPhs_UNK3_e:
- i_proc->create_phase = cPhs_UNK3_e;
+ i_proc->state.create_phase = cPhs_UNK3_e;
return cPhs_UNK3_e;
case cPhs_ERROR_e:
default:
- i_proc->create_phase = cPhs_ERROR_e;
+ i_proc->state.create_phase = cPhs_ERROR_e;
return cPhs_ERROR_e;
}
}