summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_ks.cpp
diff options
context:
space:
mode:
authorhatal175 <hatal175@users.noreply.github.com>2025-06-02 06:36:19 +0300
committerGitHub <noreply@github.com>2025-06-01 20:36:19 -0700
commit588b20679dd6f23b52084e888c199d5b3ec85a0e (patch)
treebedfc51f92d2c410e5b11eaa0498fe5a5dcb2d25 /src/d/actor/d_a_npc_ks.cpp
parent8e91607e5582feb846354aa75630905e9d8089c7 (diff)
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer * d_a_obj_sakuita_rope Matching
Diffstat (limited to 'src/d/actor/d_a_npc_ks.cpp')
-rw-r--r--src/d/actor/d_a_npc_ks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_ks.cpp b/src/d/actor/d_a_npc_ks.cpp
index 4342ffb55f..9c2a704427 100644
--- a/src/d/actor/d_a_npc_ks.cpp
+++ b/src/d/actor/d_a_npc_ks.cpp
@@ -1625,7 +1625,7 @@ static int npc_ks_demo_02(npc_ks_class* i_this) {
a_this->attention_info.distances[3] = 2;
}
- if (i_this == (npc_ks_class*)dComIfGp_getAttention().LockonTarget(0) && i_this->mTimers[2] == 0
+ if (i_this == (npc_ks_class*)dComIfGp_getAttention()->LockonTarget(0) && i_this->mTimers[2] == 0
&& mDoCPd_c::getTrigA(PAD_1) != 0) {
i_this->mMode = 17;
anm_init(i_this, 25, 2.0f, 0, 1.0f);