mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
Sakuita rope Matching (#2470)
* Change dComIfGp_getAttention to return a pointer * d_a_obj_sakuita_rope Matching
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user