diff options
| author | hatal175 <hatal175@users.noreply.github.com> | 2025-06-02 06:36:19 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-01 20:36:19 -0700 |
| commit | 588b20679dd6f23b52084e888c199d5b3ec85a0e (patch) | |
| tree | bedfc51f92d2c410e5b11eaa0498fe5a5dcb2d25 /src/d/actor/d_a_obj_master_sword.cpp | |
| parent | 8e91607e5582feb846354aa75630905e9d8089c7 (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_obj_master_sword.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_master_sword.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |
