Use attention enums everywhere instead of integer literals (#3044)

This commit is contained in:
Max Roncace
2026-01-14 09:55:59 -05:00
committed by GitHub
parent c0e0bbaaf3
commit 93dcac3343
59 changed files with 160 additions and 146 deletions
+1 -1
View File
@@ -651,7 +651,7 @@ void daNpcTkj_c::setParam() {
s16 attn_angle = mpHIO->m.common.attention_angle;
attention_info.distances[fopAc_attn_LOCK_e] = daNpcT_getDistTableIdx(attn_dist, attn_angle);
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] = daNpcT_getDistTableIdx(talk_dist, talk_angle);
attention_info.flags = attn_flags;