diff options
| author | Max Roncace <me@caseif.net> | 2025-07-22 08:22:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 15:22:58 +0300 |
| commit | d528862dd05f29c73bad4738de9fe214852a4888 (patch) | |
| tree | cd5da870236d60b6716ca435a60bb7af9659c893 /src/d/actor/d_a_obj_timer.cpp | |
| parent | 69aaeeeda68b8ca4714daf4e9dd0e800c918867a (diff) | |
d_a_obj_tobyhouse equivalent (#2546) (#2543)
Co-authored-by: hatal175 <hatal175@users.noreply.github.com>
Diffstat (limited to 'src/d/actor/d_a_obj_timer.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_timer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/actor/d_a_obj_timer.cpp b/src/d/actor/d_a_obj_timer.cpp index 9d649451c4..5a0b2ed53b 100644 --- a/src/d/actor/d_a_obj_timer.cpp +++ b/src/d/actor/d_a_obj_timer.cpp @@ -89,7 +89,7 @@ void daObjTimer::Act_c::mode_count() { } /* 804854BC-804855A4 00039C 00E8+00 1/1 0/0 0/0 .text _execute__Q210daObjTimer5Act_cFv */ -int daObjTimer::Act_c::_execute() { +bool daObjTimer::Act_c::_execute() { static daObjTimer::Act_c::modeProc const mode_proc[2] = { &daObjTimer::Act_c::mode_wait, &daObjTimer::Act_c::mode_count, @@ -97,10 +97,10 @@ int daObjTimer::Act_c::_execute() { if (fopAcM_isSwitch(this, prm_get_sw2Save())) { fopAcM_delete(this); - return 1; + return true; } else { (this->*mode_proc[field_0x568])(); - return 1; + return true; } } @@ -136,8 +136,8 @@ namespace { (process_method_func)Mthd_Create, (process_method_func)Mthd_Delete, (process_method_func)Mthd_Execute, - (process_method_func)Mthd_Draw, (process_method_func)Mthd_IsDelete, + (process_method_func)Mthd_Draw, }; } |
