From fe518c9859c5680165e69ade1e58831737e80744 Mon Sep 17 00:00:00 2001 From: Blixibon Date: Sat, 16 Jul 2022 12:03:56 -0500 Subject: [PATCH] Fixed an oversight in CAI_BaseNPC::TranslateActivity --- sp/src/game/server/ai_basenpc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sp/src/game/server/ai_basenpc.cpp b/sp/src/game/server/ai_basenpc.cpp index f1f72307..6f8b7bcd 100644 --- a/sp/src/game/server/ai_basenpc.cpp +++ b/sp/src/game/server/ai_basenpc.cpp @@ -6827,7 +6827,11 @@ Activity CAI_BaseNPC::TranslateActivity( Activity idealActivity, Activity *pIdea return baseTranslation; if ( idealWeaponActivity != baseTranslation && HaveSequenceForActivity( idealWeaponActivity ) ) +#ifdef MAPBASE + return idealWeaponActivity; +#else return idealActivity; +#endif if ( idealActivity != idealWeaponActivity && HaveSequenceForActivity( idealActivity ) ) return idealActivity;