summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphAnimator/J3DJoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DJoint.cpp')
-rw-r--r--src/JSystem/J3DGraphAnimator/J3DJoint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DJoint.cpp b/src/JSystem/J3DGraphAnimator/J3DJoint.cpp
index 5ea7d2cc..28616176 100644
--- a/src/JSystem/J3DGraphAnimator/J3DJoint.cpp
+++ b/src/JSystem/J3DGraphAnimator/J3DJoint.cpp
@@ -245,7 +245,7 @@ void J3DJoint::entryIn() {
mesh->calc(anmMtx);
}
mesh->setCurrentMtx();
- matPacket->setMaterialAnmID(mesh->getMaterialAnm());
+ matPacket->setMaterialAnmID((u32)mesh->getMaterialAnm());
matPacket->setShapePacket(shapePacket);
J3DDrawBuffer* drawBuffer = j3dSys.getDrawBuffer(mesh->isDrawModeOpaTexEdge());
if ((u8)matPacket->entry(drawBuffer)) {