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/d_msg_flow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/d/d_msg_flow.cpp') 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" -- cgit v1.2.3