mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-12 03:28:56 -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:
@@ -125,7 +125,8 @@ static int daObjVGnd_Delete(daObjVGnd_c* i_this) {
|
||||
}
|
||||
|
||||
static int daObjVGnd_Create(fopAc_ac_c* i_this) {
|
||||
fopAcM_RegisterCreateID(daObjVGnd_c, i_this, "Sample");
|
||||
daObjVGnd_c* a_this = (daObjVGnd_c*)i_this;
|
||||
fopAcM_RegisterCreateID(i_this, "Sample");
|
||||
return a_this->create();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user