summaryrefslogtreecommitdiff
path: root/libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-01-22 07:23:54 -0800
committerGitHub <noreply@github.com>2024-01-22 17:23:54 +0200
commit697cd08979c12f2a1ebd32f12a1a306b730f14ec (patch)
treecf87190adf687a837db8424dc00ffa21da99e837 /libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp
parent5a735a495680b6b410a242cbe570a72b789d7016 (diff)
some various J2D/J3D work (#2043)
* most of J2DPicture done * fix GXSetTexCoordGen * some j3d work
Diffstat (limited to 'libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp')
-rw-r--r--libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp b/libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp
index d3d8b7e17d..c3163f36d5 100644
--- a/libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp
+++ b/libs/JSystem/J3DGraphAnimator/J3DAnimation.cpp
@@ -786,11 +786,11 @@ asm void J3DAnmTexPattern::getTexNo(u16 param_0, u16* param_1) const {
* searchUpdateMaterialID__16J3DAnmTexPatternFP16J3DMaterialTable */
void J3DAnmTexPattern::searchUpdateMaterialID(J3DMaterialTable* param_0) {
for (u16 i = 0; i < mUpdateMaterialNum; i++) {
- s32 r3 = param_0->getMaterialName()->getIndex(field_0x1c.getName(i));
+ s32 r3 = param_0->getMaterialName()->getIndex(mUpdateMaterialName.getName(i));
if (r3 != -1) {
- field_0x18[i] = r3;
+ mUpdateMaterialID[i] = r3;
} else {
- field_0x18[i] = -1;
+ mUpdateMaterialID[i] = -1;
}
}
}