summaryrefslogtreecommitdiff
path: root/src/d/d_chain.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2024-07-04 00:57:17 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2024-07-04 00:57:17 -0400
commit5778c31aed79da610fb2b889c112def4fe08adb4 (patch)
tree6211e127ecddd8f37acd1298f79ae6caa615c738 /src/d/d_chain.cpp
parentd71ff64d2d8dfd455aa89dfffa9c9828b96c4a91 (diff)
Add developer-specific macros for g_regHIO child registers
Diffstat (limited to 'src/d/d_chain.cpp')
-rw-r--r--src/d/d_chain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_chain.cpp b/src/d/d_chain.cpp
index 194059e5..a5b3cd49 100644
--- a/src/d/d_chain.cpp
+++ b/src/d/d_chain.cpp
@@ -127,7 +127,7 @@ void dChain_packet_c::draw() {
GXSetCurrentMtx(GX_PNMTX0);
cXyz* points = mPt;
- f32 segmentLen = (g_regHIO.mChild[10].mFloatRegs[11] + 6.75f) * mScale.z;
+ f32 segmentLen = (REG10_F(11) + 6.75f) * mScale.z;
s16 angle = 0;
cXyz pos = *points;
for (s32 i = 0; i < mNum - 1; i++) {