mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-16 20:27:36 -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:
@@ -349,9 +349,7 @@ int daNpcRafrel_c::CreateHeap() {
|
||||
}
|
||||
|
||||
int daNpcRafrel_c::Delete() {
|
||||
"Delete -> NPC_RAFREL(id=%d)\n";
|
||||
|
||||
fpc_ProcID id = fopAcM_GetID(this);
|
||||
fopAcM_RegisterDeleteID(this, "NPC_RAFREL");
|
||||
this->~daNpcRafrel_c();
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user