summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphBase/J3DShape.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2025-08-08 05:56:18 -0400
committerGitHub <noreply@github.com>2025-08-08 12:56:18 +0300
commit156d2b24c36309f455e0284806ae9d2170775bdb (patch)
treece861916f208d60d0e75ca0f0417c06c9db377cf /src/JSystem/J3DGraphBase/J3DShape.cpp
parent57c9d6430818186504cd0457313a0197e0f4b84c (diff)
Misc. J3D improvements (#2570)
Diffstat (limited to 'src/JSystem/J3DGraphBase/J3DShape.cpp')
-rw-r--r--src/JSystem/J3DGraphBase/J3DShape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DShape.cpp b/src/JSystem/J3DGraphBase/J3DShape.cpp
index dcccb4449d..fee08feb08 100644
--- a/src/JSystem/J3DGraphBase/J3DShape.cpp
+++ b/src/JSystem/J3DGraphBase/J3DShape.cpp
@@ -110,8 +110,8 @@ void J3DShape::calcNBTScale(Vec const& param_0, f32 (*param_1)[3][3], f32 (*para
}
/* 80314E28-80314E98 30F768 0070+00 0/0 1/1 0/0 .text countBumpMtxNum__8J3DShapeCFv */
-u32 J3DShape::countBumpMtxNum() const {
- u32 num = 0;
+u16 J3DShape::countBumpMtxNum() const {
+ u16 num = 0;
for (u16 i = 0; i < mMtxGroupNum; i++)
num += mShapeMtx[i]->getUseMtxNum();
return num;