summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_npc_grs.cpp
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-01-14 09:55:59 -0500
committerGitHub <noreply@github.com>2026-01-14 16:55:59 +0200
commit93dcac33431a9f279623d25ff2065def5b2b5eec (patch)
tree485102c44b2a87f17e4ce706a537616a0995536d /src/d/actor/d_a_npc_grs.cpp
parentc0e0bbaaf3ff70413498d2ce41f281e8aa41db07 (diff)
Use attention enums everywhere instead of integer literals (#3044)
Diffstat (limited to 'src/d/actor/d_a_npc_grs.cpp')
-rw-r--r--src/d/actor/d_a_npc_grs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/actor/d_a_npc_grs.cpp b/src/d/actor/d_a_npc_grs.cpp
index 727a26a15b..ee704017c7 100644
--- a/src/d/actor/d_a_npc_grs.cpp
+++ b/src/d/actor/d_a_npc_grs.cpp
@@ -360,7 +360,7 @@ void daNpc_grS_c::setParam() {
unkInt1 = 5;
unkInt2 = 6;
attention_info.distances[fopAc_attn_LOCK_e] = getDistTableIdx(unkInt1, unkInt2);
- attention_info.distances[fopAc_attn_TALK_e] = attention_info.distances[0];
+ attention_info.distances[fopAc_attn_TALK_e] = attention_info.distances[fopAc_attn_LOCK_e];
attention_info.distances[fopAc_attn_SPEAK_e] = getDistTableIdx(unkInt3, unkInt4);
attention_info.flags = flags;