mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-18 12:52:51 -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:
@@ -517,7 +517,7 @@ int daNpc_Bans_c::CreateHeap() {
|
||||
|
||||
int daNpc_Bans_c::Delete() {
|
||||
OS_REPORT("|%06d:%x|daNpc_Bans_c -> Delete\n", g_Counter.mCounter0, this);
|
||||
fpc_ProcID id = fopAcM_GetID(this);
|
||||
fopAcM_RegisterDeleteID(this, "NPC_BANS");
|
||||
this->~daNpc_Bans_c();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user