diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-07 16:13:55 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2026-05-07 16:13:55 -0400 |
| commit | cf210f963b877cdafeb269179dbdeffa8958fe7e (patch) | |
| tree | b76e3310fd75878a59925a2765db07ab8939b333 /src/d/actor/d_a_ep.cpp | |
| parent | e1f5b7e23b2a37da369e8ce5800149632887eec4 (diff) | |
Add helper macros to simplify fopAcM_ct-related version differences
Diffstat (limited to 'src/d/actor/d_a_ep.cpp')
| -rw-r--r-- | src/d/actor/d_a_ep.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/d/actor/d_a_ep.cpp b/src/d/actor/d_a_ep.cpp index d4823e3d..9cc8a7cb 100644 --- a/src/d/actor/d_a_ep.cpp +++ b/src/d/actor/d_a_ep.cpp @@ -637,16 +637,11 @@ static cPhs_State daEp_Create(fopAc_ac_c* a_this) { }; ep_class* i_this = (ep_class*)a_this; + fopAcM_ct_Retail(a_this, ep_class); -#if VERSION == VERSION_DEMO cPhs_State ret = dComIfG_resLoad(&i_this->mPhase, "Ep"); if (ret == cPhs_COMPLEATE_e) { - fopAcM_ct(a_this, ep_class); -#else - fopAcM_ct(a_this, ep_class); - cPhs_State ret = dComIfG_resLoad(&i_this->mPhase, "Ep"); - if (ret == cPhs_COMPLEATE_e) { -#endif + fopAcM_ct_Demo(a_this, ep_class); i_this->mType = fopAcM_GetParam(a_this) & 0x3F; if (i_this->mType == 0x3F) { i_this->mType = 0; |
