mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Add helper macros to simplify fopAcM_ct-related version differences
This commit is contained in:
@@ -515,15 +515,10 @@ static BOOL useHeapInit(fopAc_ac_c* a_this) {
|
||||
static cPhs_State daKN_Create(fopAc_ac_c* a_this) {
|
||||
kn_class* i_this = (kn_class*)a_this;
|
||||
|
||||
#if VERSION == VERSION_DEMO
|
||||
fopAcM_ct_Retail(a_this, kn_class);
|
||||
cPhs_State PVar1 = dComIfG_resLoad(&i_this->mPhase, "KN");
|
||||
if (PVar1 == cPhs_COMPLEATE_e) {
|
||||
fopAcM_ct(&i_this->actor, kn_class);
|
||||
#else
|
||||
fopAcM_ct(a_this, kn_class);
|
||||
cPhs_State PVar1 = dComIfG_resLoad(&i_this->mPhase, "KN");
|
||||
if (PVar1 == cPhs_COMPLEATE_e) {
|
||||
#endif
|
||||
fopAcM_ct_Demo(&i_this->actor, kn_class);
|
||||
i_this->m2B4 = fopAcM_GetParam(a_this);
|
||||
i_this->m2B5 = fopAcM_GetParam(a_this) >> 8;
|
||||
i_this->m2EC = a_this->current.pos;
|
||||
|
||||
Reference in New Issue
Block a user