diff options
| author | robojumper <robojumper@gmail.com> | 2024-09-15 21:40:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-15 15:40:03 -0400 |
| commit | 508d5b9e720f81ebf8148fd07faef1c61e9901b2 (patch) | |
| tree | 825ec260b4628de8585f50997008ec61a109951f /src/f/f_base.cpp | |
| parent | 732a119127b8a5d53092c16f12a37b47e8248fd1 (diff) | |
Actor cleanup (#32)
* Actor cleanup
---------
Co-authored-by: elijah-thomas774 <elijahthomas774@gmail.com>
Diffstat (limited to 'src/f/f_base.cpp')
| -rw-r--r-- | src/f/f_base.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/f/f_base.cpp b/src/f/f_base.cpp index 640f83e2..188ace59 100644 --- a/src/f/f_base.cpp +++ b/src/f/f_base.cpp @@ -24,7 +24,6 @@ void (*fBase_c::sUnloadCallback)(); fBase_c::fBase_c() : unique_ID(m_rootUniqueID), params(m_tmpCtData.params), profile_name(m_tmpCtData.prof_name), group_type(m_tmpCtData.group_type), manager(this) { - m_rootUniqueID = (fBaseID_e)(m_rootUniqueID + 1); if (m_rootUniqueID == INVALID) { for (;;) { @@ -68,7 +67,7 @@ int fBase_c::commonPack(int (fBase_c::*doFunc)(), int (fBase_c::*preFunc)(), voi // Pre Function to setup int result = (this->*preFunc)(); - if (result) { + if (result != NOT_READY) { // Do function to handle current result = (this->*doFunc)(); if (result == NOT_READY) { @@ -115,7 +114,7 @@ void fBase_c::postCreate(MAIN_STATE_e state) { /* 802e1670 */ int fBase_c::doDelete() { - return 1; + return SUCCEEDED; } /* 802e1680 */ |
