diff options
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp')
| -rw-r--r-- | src/JSystem/J3DGraphAnimator/J3DShapeTable.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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 +} |
