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 740387eb4f
commit d45b10d0fd
101 changed files with 184 additions and 200 deletions
+1 -7
View File
@@ -817,12 +817,6 @@ void daE_FB_c::dead_eff_set() {
}
}
#if DEBUG
static char* dummy_117771() {
return "Delete -> E_FB(id=%d)\n";
}
#endif
int daE_FB_c::execute() {
if (field_0x69c != 0) {
--field_0x69c;
@@ -869,7 +863,7 @@ int daE_FB_c::_delete() {
}
static int daE_FB_Delete(daE_FB_c* i_this) {
int id = fopAcM_GetID(i_this);
fopAcM_RegisterDeleteID(i_this, "E_FB");
return static_cast<daE_FB_c*>(i_this)->_delete();
}