diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2024-01-22 07:23:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-22 17:23:54 +0200 |
| commit | 697cd08979c12f2a1ebd32f12a1a306b730f14ec (patch) | |
| tree | cf87190adf687a837db8424dc00ffa21da99e837 /libs/JSystem/J2DGraph/J2DMaterial.cpp | |
| parent | 5a735a495680b6b410a242cbe570a72b789d7016 (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.cpp | 2 |
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; } } } |
