From b45a089e15d79821b07be020db628e01a49b1fd2 Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Thu, 4 Sep 2025 07:56:59 -0700 Subject: some J3D/misc cleanup (#2628) * some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup --- src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp') diff --git a/src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp b/src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp index 29357ff035..044161ecad 100644 --- a/src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp +++ b/src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp @@ -30,9 +30,8 @@ void J3DShapeTable::sortVcdVatCmd() { for (u16 next = 0; next < shapeNum; next++) { for (u16 prev = 0; prev < next; prev++) { if (mShapeNodePointer[next]->isSameVcdVatCmd(mShapeNodePointer[prev])) { - void* nodeVatCmd = mShapeNodePointer[prev]->getVcdVatCmd(); - mShapeNodePointer[next]->setVcdVatCmd(nodeVatCmd); + mShapeNodePointer[next]->setVcdVatCmd(mShapeNodePointer[prev]->getVcdVatCmd()); } } } -} \ No newline at end of file +} -- cgit v1.2.3