Add helper macros to simplify fopAcM_ct-related version differences

This commit is contained in:
LagoLunatic
2026-05-07 16:13:55 -04:00
parent e1f5b7e23b
commit cf210f963b
47 changed files with 102 additions and 311 deletions
+2 -6
View File
@@ -709,9 +709,7 @@ cPhs_State daNpc_Km1_c::_create() {
0x272E0
};
#if VERSION > VERSION_DEMO
fopAcM_ct(this, daNpc_Km1_c);
#endif
fopAcM_ct_Retail(this, daNpc_Km1_c);
if (!decideType(fopAcM_GetParam(this) & 0xFF )) {
return cPhs_ERROR_e;
@@ -728,9 +726,7 @@ cPhs_State daNpc_Km1_c::_create() {
}
l_HIO.field_0x8 += 1;
#if VERSION == VERSION_DEMO
fopAcM_ct(this, daNpc_Km1_c);
#endif
fopAcM_ct_Demo(this, daNpc_Km1_c);
if(fopAcM_entrySolidHeap(this,CheckCreateHeap,a_heap_size_tbl[field_0x7D3])){
fopAcM_SetMtx(this,mpMorf->getModel()->getBaseTRMtx());