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:
roeming
2026-01-17 08:52:32 -05:00
committed by GitHub
parent 7c71acb6b6
commit 0571b8c22d
101 changed files with 184 additions and 200 deletions
+1 -3
View File
@@ -1544,10 +1544,8 @@ static int daE_GB_IsDelete(e_gb_class* i_this) {
}
static int daE_GB_Delete(e_gb_class* i_this) {
"Delete -> E_GB(id=%d)\n";
fopEn_enemy_c* actor = &i_this->actor;
fpc_ProcID id = fopAcM_GetID(i_this);
fopAcM_RegisterDeleteID(i_this, "E_GB");
dComIfG_resDelete(&i_this->phase, "E_gb");
if (i_this->hioInit != 0) {