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 -1
View File
@@ -297,7 +297,7 @@ int daNpcTkc_c::CreateHeap() {
}
int daNpcTkc_c::Delete() {
fpc_ProcID id = fopAcM_GetID(this);
fopAcM_RegisterDeleteID(this, "NPC_TKC");
this->~daNpcTkc_c();
return 1;
}