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/d_msg_flow.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/d_msg_flow.cpp')
| -rw-r--r-- | src/d/d_msg_flow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/d/d_msg_flow.cpp b/src/d/d_msg_flow.cpp index 7bb1343311..a5f8cb5382 100644 --- a/src/d/d_msg_flow.cpp +++ b/src/d/d_msg_flow.cpp @@ -925,16 +925,16 @@ u16 dMsgFlow_c::query007(mesg_flow_node_branch* i_flowNode_p, fopAc_ac_c* i_spea s16 attention_angle = sp10.U() - fopAcM_GetShapeAngle_p(daPy_getPlayerActorClass())->y; u8 speak_dist = i_speaker_p->attention_info.distances[fopAc_attn_SPEAK_e]; - f32 max_dist = dComIfGp_getAttention().getDistTable(speak_dist).mDistMaxRelease; + f32 max_dist = dComIfGp_getAttention()->getDistTable(speak_dist).mDistMaxRelease; if (prm0 != 0) { max_dist = prm0; } - ret = dComIfGp_getAttention().checkDistance( + ret = dComIfGp_getAttention()->checkDistance( &player_attention_pos, attention_angle, &i_speaker_p->attention_info.position, max_dist, - dComIfGp_getAttention().getDistTable(speak_dist).mDistanceAdjust, - dComIfGp_getAttention().getDistTable(speak_dist).mUpperY, - dComIfGp_getAttention().getDistTable(speak_dist).mLowerY); + dComIfGp_getAttention()->getDistTable(speak_dist).mDistanceAdjust, + dComIfGp_getAttention()->getDistTable(speak_dist).mUpperY, + dComIfGp_getAttention()->getDistTable(speak_dist).mLowerY); if (param_2 != 0) { // "Conversation Distance Branch" |
