From 588b20679dd6f23b52084e888c199d5b3ec85a0e Mon Sep 17 00:00:00 2001 From: hatal175 Date: Mon, 2 Jun 2025 06:36:19 +0300 Subject: Sakuita rope Matching (#2470) * Change dComIfGp_getAttention to return a pointer * d_a_obj_sakuita_rope Matching --- src/d/actor/d_a_obj_master_sword.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/d/actor/d_a_obj_master_sword.cpp') diff --git a/src/d/actor/d_a_obj_master_sword.cpp b/src/d/actor/d_a_obj_master_sword.cpp index 2335734dff..362db86751 100644 --- a/src/d/actor/d_a_obj_master_sword.cpp +++ b/src/d/actor/d_a_obj_master_sword.cpp @@ -37,10 +37,10 @@ void daObjMasterSword_c::initWait() { */ void daObjMasterSword_c::executeWait() { if (daPy_getPlayerActorClass()->checkPriActorOwn(this)) { - for (int i = 0; i < dComIfGp_getAttention().GetActionCount(); i++) { - if (dComIfGp_getAttention().ActionTarget(i) == this) { - if (dComIfGp_getAttention().getActionBtnB() != NULL && - dComIfGp_getAttention().getActionBtnB()->mType == 4) + for (int i = 0; i < dComIfGp_getAttention()->GetActionCount(); i++) { + if (dComIfGp_getAttention()->ActionTarget(i) == this) { + if (dComIfGp_getAttention()->getActionBtnB() != NULL && + dComIfGp_getAttention()->getActionBtnB()->mType == 4) { dComIfGp_setDoStatusForce(8, 0); } -- cgit v1.2.3