mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-31 15:47:17 -04:00
fopAcM_Register cleanup (#3047)
* use macro `fopAcM_Register` more consistently * replace fopAcM_RegisterCreateID with version that doesn't create `a_this`
This commit is contained in:
@@ -262,14 +262,14 @@ static int daSpinLift_Execute(daSpinLift_c* i_this) {
|
||||
}
|
||||
|
||||
static int daSpinLift_Delete(daSpinLift_c* i_this) {
|
||||
fpc_ProcID proc_id = fopAcM_GetID(i_this);
|
||||
fopAcM_RegisterCreateID(i_this, "daSpinLift");
|
||||
return i_this->MoveBGDelete();
|
||||
}
|
||||
|
||||
static int daSpinLift_Create(fopAc_ac_c* a_this) {
|
||||
daSpinLift_c* i_this = (daSpinLift_c*)a_this;
|
||||
fpc_ProcID proc_id = fopAcM_GetID(a_this);
|
||||
return i_this->create();
|
||||
static int daSpinLift_Create(fopAc_ac_c* i_this) {
|
||||
daSpinLift_c* a_this = (daSpinLift_c*)i_this;
|
||||
fopAcM_RegisterDeleteID(i_this, "daSpinLift");
|
||||
return a_this->create();
|
||||
}
|
||||
|
||||
static actor_method_class l_daSpinLift_Method = {
|
||||
|
||||
Reference in New Issue
Block a user