summaryrefslogtreecommitdiff
path: root/libs/JSystem/J2DGraph/J2DMaterial.cpp
diff options
context:
space:
mode:
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;
}
}
}