use loopmode enum in more places

This commit is contained in:
LagoLunatic
2024-05-10 01:04:38 -04:00
parent 91891dc313
commit 2870b39dd3
25 changed files with 83 additions and 80 deletions
+1 -1
View File
@@ -2481,7 +2481,7 @@ static BOOL useHeapInit(fopAc_ac_c* i_actor) {
return cPhs_ERROR_e;
}
J3DAnmTexPattern* btp = (J3DAnmTexPattern*)dComIfG_getObjectRes("Bk", BK_BTP_TMABATAKI);
if (!i_this->m02C4->init(model->getModelData(), btp, 1, 0, 1.0f, 0, -1, false, 0)) {
if (!i_this->m02C4->init(model->getModelData(), btp, TRUE, J3DFrameCtrl::LOOP_ONCE_e, 1.0f, 0, -1, false, 0)) {
// Bug: Same as above.
// TODO check this case as well.
return cPhs_ERROR_e;