From 301309f76bd3cae1345819a9ffe99278d76962fb Mon Sep 17 00:00:00 2001 From: Blixibon Date: Thu, 11 Nov 2021 19:07:35 -0600 Subject: [PATCH] Added forgotten code from crossbow readiness activities --- sp/src/game/server/ai_activity.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/sp/src/game/server/ai_activity.cpp b/sp/src/game/server/ai_activity.cpp index 02afb3b7..7a64a963 100644 --- a/sp/src/game/server/ai_activity.cpp +++ b/sp/src/game/server/ai_activity.cpp @@ -2236,6 +2236,17 @@ void CAI_BaseNPC::InitDefaultActivitySR(void) ADD_ACTIVITY_TO_SR( ACT_GESTURE_RANGE_ATTACK_CROSSBOW ); ADD_ACTIVITY_TO_SR( ACT_GESTURE_RELOAD_CROSSBOW ); + ADD_ACTIVITY_TO_SR( ACT_IDLE_CROSSBOW_RELAXED ); + ADD_ACTIVITY_TO_SR( ACT_IDLE_CROSSBOW_STIMULATED ); + ADD_ACTIVITY_TO_SR( ACT_WALK_CROSSBOW_RELAXED ); + ADD_ACTIVITY_TO_SR( ACT_RUN_CROSSBOW_RELAXED ); + ADD_ACTIVITY_TO_SR( ACT_WALK_CROSSBOW_STIMULATED ); + ADD_ACTIVITY_TO_SR( ACT_RUN_CROSSBOW_STIMULATED ); + + ADD_ACTIVITY_TO_SR( ACT_IDLE_AIM_CROSSBOW_STIMULATED ); + ADD_ACTIVITY_TO_SR( ACT_WALK_AIM_CROSSBOW_STIMULATED ); + ADD_ACTIVITY_TO_SR( ACT_RUN_AIM_CROSSBOW_STIMULATED ); + ADD_ACTIVITY_TO_SR( ACT_IDLE_PISTOL_RELAXED ); ADD_ACTIVITY_TO_SR( ACT_IDLE_PISTOL_STIMULATED ); ADD_ACTIVITY_TO_SR( ACT_WALK_PISTOL_RELAXED );