summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-13 13:37:02 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-07-13 13:37:02 -0400
commit98721a6b80a7842b19e0e025523252acc3ed39ae (patch)
treef0bcdc9347b1caa625d29bb3feeac5e0456ab336 /src
parentbd46bc48669c025ceaf7eac3c6ddbd60b806e1d7 (diff)
d_a_npc_tt inlines fix
Diffstat (limited to 'src')
-rw-r--r--src/d/actor/d_a_npc_tt.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc_tt.cpp b/src/d/actor/d_a_npc_tt.cpp
index b5ef59e4..d839d1ad 100644
--- a/src/d/actor/d_a_npc_tt.cpp
+++ b/src/d/actor/d_a_npc_tt.cpp
@@ -42,7 +42,7 @@ static BOOL nodeCallBack_Tt(J3DNode* node, int calcTiming) {
if(i_this != NULL) {
MTXCopy(model->getAnmMtx(jntNo), *calc_mtx);
- if (jntNo == i_this->m_head_jnt_num) {
+ if (jntNo == i_this->getHeadJntNum()) {
temp.setall(0.0f);
cMtx_YrotM(*calc_mtx, -i_this->getHead_y());
cMtx_ZrotM(*calc_mtx, -i_this->getHead_x() - i_this->mHeadAnm.field_0x00);
@@ -54,9 +54,9 @@ static BOOL nodeCallBack_Tt(J3DNode* node, int calcTiming) {
i_this->setEyePos(temp2);
i_this->incAttnSetCount();
- } else if (jntNo == i_this->m_backbone_jnt_num) {
+ } else if (jntNo == i_this->getBackboneJntNum()) {
mDoMtx_XrotM(*calc_mtx, i_this->getBackbone_y());
- mDoMtx_ZrotM(*calc_mtx, i_this->m_jnt.getBackbone_x());
+ mDoMtx_ZrotM(*calc_mtx, i_this->getBackbone_x());
}
cMtx_copy(*calc_mtx, J3DSys::mCurrentMtx);
model->setAnmMtx(jntNo, *calc_mtx);