summaryrefslogtreecommitdiff
path: root/src/d/msg/d_msg_flow.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2024-05-07 21:21:07 -0700
committerGitHub <noreply@github.com>2024-05-08 07:21:07 +0300
commit67139251725021b6da74a096c432d02d6d1db321 (patch)
tree9a7d4e72766e57e45d1cf316fe99265dd7ff4dcc /src/d/msg/d_msg_flow.cpp
parente1147cf047a525242178bd0ec39c8ed88a2633f1 (diff)
d_a_obj_item done (#2150)
* d_a_obj_item 99% done * item cleanup * remove asm * add actor attention dist type enum * change dist_entry names slightly
Diffstat (limited to 'src/d/msg/d_msg_flow.cpp')
-rw-r--r--src/d/msg/d_msg_flow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/msg/d_msg_flow.cpp b/src/d/msg/d_msg_flow.cpp
index d8e063c345..6f7c26269f 100644
--- a/src/d/msg/d_msg_flow.cpp
+++ b/src/d/msg/d_msg_flow.cpp
@@ -1214,7 +1214,7 @@ int dMsgFlow_c::query007(mesg_flow_node_branch* flow_node, fopAc_ac_c* param_1,
cXyz this_00 = daPy_getPlayerActorClass()->attention_info.position;
this_00.y -= daPy_getPlayerActorClass()->getAttentionOffsetY();
s16 uVar8 = (cSGlobe(param_1->attention_info.position - this_00).U() - daPy_getPlayerActorClass()->shape_angle.GetY());
- u8 attentionId = param_1->attention_info.field_0x0[3];
+ u8 attentionId = param_1->attention_info.distances[fopAc_attn_SPEAK_e];
f32 fVar1 = dAttention_c::getDistTable(attentionId).field_0x4;
u16 x = uVar3;
if (x != 0) {