diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-17 22:26:56 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-03-17 22:26:56 -0400 |
| commit | 822b13e57a978cb940abfdb2286588ad3c338b4d (patch) | |
| tree | 7cb41bc9704d93c8659f4f0e596dcd503da6064f /src/d/actor/d_a_item.cpp | |
| parent | 455ff4a5717c39b8d2fae08528eace46b7dc6d38 (diff) | |
Add `cPhs_State` typedef and use it everywhere
Diffstat (limited to 'src/d/actor/d_a_item.cpp')
| -rw-r--r-- | src/d/actor/d_a_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/actor/d_a_item.cpp b/src/d/actor/d_a_item.cpp index 0c764928..f17a1253 100644 --- a/src/d/actor/d_a_item.cpp +++ b/src/d/actor/d_a_item.cpp @@ -233,7 +233,7 @@ s32 daItem_c::_daItem_create() { } } - s32 phase_state = dComIfG_resLoad(&mPhs, dItem_data::getFieldArc(m_itemNo)); + cPhs_State phase_state = dComIfG_resLoad(&mPhs, dItem_data::getFieldArc(m_itemNo)); if (phase_state == cPhs_COMPLEATE_e) { // Note: The demo version calls getHeapSize instead of getFieldHeapSize here. u32 heap_size = dItem_data::getFieldHeapSize(m_itemNo); @@ -1454,7 +1454,7 @@ static BOOL daItem_Delete(daItem_c* i_this) { } /* 800F89D0-800F89F0 .text daItem_Create__FP10fopAc_ac_c */ -static s32 daItem_Create(fopAc_ac_c* i_this) { +static cPhs_State daItem_Create(fopAc_ac_c* i_this) { return ((daItem_c*)i_this)->_daItem_create(); } |
