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
@@ -23,7 +23,7 @@ void dMat_backup_c::restore() {
/* 8006F69C-8006F740 .text create__10dMat_ice_cFP16J3DMaterialTableP19J3DAnmTextureSRTKey */
void dMat_ice_c::create(J3DMaterialTable* param_1, J3DAnmTextureSRTKey* param_2) {
mMaterialTable = param_1;
int rt = mBtkAnm.init(mMaterialTable, param_2, 1, 2, 1.0f, 0, -1, false, 0);
int rt = mBtkAnm.init(mMaterialTable, param_2, TRUE, J3DFrameCtrl::LOOP_REPEAT_e, 1.0f, 0, -1, false, 0);
JUT_ASSERT(98, rt != 0);
mBtkAnm.entry(mMaterialTable, mBtkAnm.getFrameCtrl()->getFrame());
}