mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-14 11:53:44 -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:
@@ -439,7 +439,8 @@ inline int daObjKznkarm_c::create() {
|
||||
}
|
||||
|
||||
static int daObjKznkarm_Create(fopAc_ac_c* i_this) {
|
||||
fopAcM_RegisterCreateID(daObjKznkarm_c, i_this, "KznkArm");
|
||||
daObjKznkarm_c* a_this = (daObjKznkarm_c*)i_this;
|
||||
fopAcM_RegisterCreateID(i_this, "KznkArm");
|
||||
return a_this->create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user