mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-19 13:03:33 -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:
@@ -3379,14 +3379,10 @@ int daB_MGN_c::_delete() {
|
||||
}
|
||||
|
||||
static int daB_MGN_Delete(daB_MGN_c* i_this) {
|
||||
fpc_ProcID id = fopAcM_GetID(i_this);
|
||||
fopAcM_RegisterDeleteID(i_this, "B_MGN");
|
||||
return i_this->_delete();
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
char* const unused = "Delete -> B_MGN(id=%d)\n";
|
||||
#endif
|
||||
|
||||
int daB_MGN_c::CreateHeap() {
|
||||
J3DModelData* modelData = (J3DModelData*)dComIfG_getObjectRes("B_mgn", BMDR_MGN);
|
||||
JUT_ASSERT(4010, modelData != NULL);
|
||||
|
||||
Reference in New Issue
Block a user