summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_doc.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-21 18:52:16 -0500
committerGitHub <noreply@github.com>2025-11-21 15:52:16 -0800
commite2fddadf320e8d35cbb3542645122e086efbfe9f (patch)
treef0e11b2955fd092ad3022c192aed36bddd77fb48 /src/d/actor/d_a_npc_doc.cpp
parent31621c3daccccc0a582eceafec7e373d872f072a (diff)
Misc matches (#2845)
* Misc debug matches * Fix d_map weak function order * Remove old nonmatching comments * d_menu_dmap and JASAudioThread OK, fix weak func order and rodata alignment * More misc matches
Diffstat (limited to 'src/d/actor/d_a_npc_doc.cpp')
-rw-r--r--src/d/actor/d_a_npc_doc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_doc.cpp b/src/d/actor/d_a_npc_doc.cpp
index ed375e3a50..31b17c9eba 100644
--- a/src/d/actor/d_a_npc_doc.cpp
+++ b/src/d/actor/d_a_npc_doc.cpp
@@ -322,7 +322,8 @@ int daNpc_Doc_c::ctrlJointCallBack(J3DJoint* i_joint, int param_1) {
/* 809A7628-809A7660 000A88 0038+00 1/1 0/0 0/0 .text getType__11daNpc_Doc_cFv */
int daNpc_Doc_c::getType() {
- switch (fopAcM_GetParam(this) & 0xFF) {
+ u8 r31 = fopAcM_GetParam(this) & 0xFF;
+ switch (r31) {
case 0:
return 0;
case 1: