mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-17 20:43:07 -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:
@@ -174,7 +174,7 @@ int daNpcDrSol_c::CreateHeap() {
|
||||
}
|
||||
|
||||
int daNpcDrSol_c::Delete() {
|
||||
fpc_ProcID id = fopAcM_GetID(this);
|
||||
fopAcM_RegisterDeleteID(this, "NPC_DRSOL");
|
||||
this->~daNpcDrSol_c();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user