Fix missing usages of fopAcM_ct

This commit is contained in:
LagoLunatic 2025-12-23 17:17:02 -05:00
parent fa4a49e902
commit 48d2d599f7
3 changed files with 4 additions and 13 deletions

View File

@ -3114,10 +3114,7 @@ u8 daCow_c::initialize() {
}
int daCow_c::create() {
if (!fopAcM_CheckCondition(this, 8)) {
new (this) daCow_c();
fopAcM_OnCondition(this, 8);
}
fopAcM_ct(this, daCow_c);
mPrm0 = fopAcM_GetParam(this);
if (mPrm0 == (u8)-1 || mPrm0 >= 5) {

View File

@ -2660,10 +2660,7 @@ inline f32 CylH(int type) {
}
cPhs__Step daNpcChat_c::Create() {
if (!fopAcM_CheckCondition(this, fopAcCnd_INIT_e)) {
new (this) daNpcChat_c();
fopAcM_OnCondition(this, fopAcCnd_INIT_e);
}
fopAcM_ct(this, daNpcChat_c);
mTwilight = dKy_darkworld_check();
mType = getType();

View File

@ -348,11 +348,8 @@ daNpc_Yelia_c::~daNpc_Yelia_c() {
}
cPhs__Step daNpc_Yelia_c::create() {
if (!fopAcM_CheckCondition(this, fopAcCnd_INIT_e)) {
new (this) daNpc_Yelia_c(l_faceMotionAnmData, l_motionAnmData, l_faceMotionSequenceData, 4,
l_motionSequenceData, 4, l_evtList, l_resNameList);
fopAcM_OnCondition(this, fopAcCnd_INIT_e);
}
daNpcT_ct(this, daNpc_Yelia_c, l_faceMotionAnmData, l_motionAnmData, l_faceMotionSequenceData, 4,
l_motionSequenceData, 4, l_evtList, l_resNameList);
mType = getType();
mFlowNodeNo = getFlowNodeNo();