summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph/J2DMaterial.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2024-02-06 07:04:35 +0200
committerGitHub <noreply@github.com>2024-02-06 07:04:35 +0200
commitc19d9b02be5d894f91cd45884eed67152dffffa4 (patch)
treeeaa14d73085ab7adfdd657ba8d1b2d2e23e149f2 /libs/JSystem/J2DGraph/J2DMaterial.cpp
parente98d9c845c3476b3060a4bada25ced6a736835de (diff)
J3D work (#2064)
Diffstat (limited to 'libs/JSystem/J2DGraph/J2DMaterial.cpp')
-rw-r--r--libs/JSystem/J2DGraph/J2DMaterial.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/JSystem/J2DGraph/J2DMaterial.cpp b/libs/JSystem/J2DGraph/J2DMaterial.cpp
index 6c0ff56168..d25648f748 100644
--- a/libs/JSystem/J2DGraph/J2DMaterial.cpp
+++ b/libs/JSystem/J2DGraph/J2DMaterial.cpp
@@ -369,7 +369,7 @@ void J2DMaterial::setAnimation(J2DAnmTevRegKey* anm) {
if (index == matID) {
J3DAnmCRegKeyTable* anmTbl = anm->getAnmCRegKeyTable();
- mAnmPointer->field_0x32[anmTbl[i]._18] = i;
+ mAnmPointer->field_0x32[anmTbl[i].mColorId] = i;
}
}
}
@@ -387,7 +387,7 @@ void J2DMaterial::setAnimation(J2DAnmTevRegKey* anm) {
if (index == matID) {
J3DAnmKRegKeyTable* anmTbl = anm->getAnmKRegKeyTable();
- mAnmPointer->field_0x3a[anmTbl[i]._18] = i;
+ mAnmPointer->field_0x3a[anmTbl[i].mColorId] = i;
}
}
}