summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph/J2DMaterial.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/J2DGraph/J2DMaterial.cpp
parent5a735a495680b6b410a242cbe570a72b789d7016 (diff)
some various J2D/J3D work (#2043)
* most of J2DPicture done * fix GXSetTexCoordGen * some j3d work
Diffstat (limited to 'libs/JSystem/J2DGraph/J2DMaterial.cpp')
-rw-r--r--libs/JSystem/J2DGraph/J2DMaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/JSystem/J2DGraph/J2DMaterial.cpp b/libs/JSystem/J2DGraph/J2DMaterial.cpp
index 65acc3a261..6c0ff56168 100644
--- a/libs/JSystem/J2DGraph/J2DMaterial.cpp
+++ b/libs/JSystem/J2DGraph/J2DMaterial.cpp
@@ -342,7 +342,7 @@ void J2DMaterial::setAnimation(J2DAnmTexPattern* anm) {
u16 matID = anm->getUpdateMaterialID(i);
if (index == matID) {
- mAnmPointer->field_0x22[anmTbl[i]._4] = i;
+ mAnmPointer->field_0x22[anmTbl[i].mTexNo] = i;
}
}
}