diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-17 00:15:24 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-04-17 00:15:24 -0400 |
| commit | 2b71216c8b1c3523888e137a4e50c40a7b739ec1 (patch) | |
| tree | 11729f8036e67f159d90fb19ddbd54ca8f5721bd /src/d/actor/d_a_npc_btsw2.cpp | |
| parent | bc85a947e6d074129b0bcf29a2ca8db8e12d63db (diff) | |
Add enum for attention types
Diffstat (limited to 'src/d/actor/d_a_npc_btsw2.cpp')
| -rw-r--r-- | src/d/actor/d_a_npc_btsw2.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/actor/d_a_npc_btsw2.cpp b/src/d/actor/d_a_npc_btsw2.cpp index d9bb9bc8..c422e790 100644 --- a/src/d/actor/d_a_npc_btsw2.cpp +++ b/src/d/actor/d_a_npc_btsw2.cpp @@ -458,7 +458,7 @@ BOOL daNpc_Btsw2_c::CreateHeap() { /* 00000EFC-000010F8 .text CreateInit__13daNpc_Btsw2_cFv */ BOOL daNpc_Btsw2_c::CreateInit() { m714 = current.angle; - attention_info.flags = fopAc_Attn_LOCKON_TALK_e | fopAc_Attn_ACTION_TALK_e; + attention_info.flags = fopAc_Attn_LOCKON_TALK_e | fopAc_Attn_ACTION_SPEAK_e; gravity = -30.0f; setAction(&daNpc_Btsw2_c::wait_action, NULL); mAttPos = current.pos; @@ -476,8 +476,8 @@ BOOL daNpc_Btsw2_c::CreateInit() { m736 = 0; mPathPntIdx = 0; mEventCut.setActorInfo2("Btsw2", this); - attention_info.distances[1] = 0xAB; - attention_info.distances[3] = 0xAB; + attention_info.distances[fopAc_Attn_TYPE_TALK_e] = 0xAB; + attention_info.distances[fopAc_Attn_TYPE_SPEAK_e] = 0xAB; return TRUE; } |
