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/d_gameover.cpp | |
| parent | 455ff4a5717c39b8d2fae08528eace46b7dc6d38 (diff) | |
Add `cPhs_State` typedef and use it everywhere
Diffstat (limited to 'src/d/d_gameover.cpp')
| -rw-r--r-- | src/d/d_gameover.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_gameover.cpp b/src/d/d_gameover.cpp index de00391c..aab7f24c 100644 --- a/src/d/d_gameover.cpp +++ b/src/d/d_gameover.cpp @@ -65,8 +65,8 @@ void dDlst_Gameover_CAPTURE_c::draw() { } /* 8018E4B4-8018E77C .text _create__11dGameover_cFv */ -s32 dGameover_c::_create() { - s32 rt = dComIfG_resLoad(&mPhs, "Gover"); +cPhs_State dGameover_c::_create() { + cPhs_State rt = dComIfG_resLoad(&mPhs, "Gover"); if (dMenu_flag() || (dComIfGp_isHeapLockFlag() != 0 && dComIfGp_isHeapLockFlag() != 4) || dComIfGp_getMesgStatus() != 0) return cPhs_INIT_e; @@ -437,7 +437,7 @@ static BOOL dGameover_Delete(dGameover_c* i_this) { } /* 8018F654-8018F674 .text dGameover_Create__FP9msg_class */ -static s32 dGameover_Create(msg_class* i_this) { +static cPhs_State dGameover_Create(msg_class* i_this) { return ((dGameover_c*)i_this)->_create(); } |
