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
+2 -1
View File
@@ -759,13 +759,14 @@ static bool daMant_IsDelete(mant_class* i_this) {
}
static int daMant_Delete(mant_class* i_this) {
fopAcM_RegisterDeleteID(i_this, "Mant");
return 1;
}
static int daMant_Create(fopAc_ac_c* i_this) {
mant_class* m_this = (mant_class*)i_this;
fpc_ProcID unusedId = fopAcM_GetID(m_this);
fopAcM_RegisterCreateID(m_this, "Mant");
fopAcM_ct(m_this, mant_class);
//m_this->field_0x0570.field_0x74 = 0;