From 55e3f82a9840c5bd2c21a8c535dad54e7e7d617f Mon Sep 17 00:00:00 2001 From: "ALLEN-PC\\acj30" Date: Sat, 25 Jan 2025 11:42:59 -0600 Subject: [PATCH] Add husk soldier class to ai_allymanager --- sp/src/game/server/hl2/ai_allymanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/server/hl2/ai_allymanager.cpp b/sp/src/game/server/hl2/ai_allymanager.cpp index 4784d983bf0..41bdc577841 100644 --- a/sp/src/game/server/hl2/ai_allymanager.cpp +++ b/sp/src/game/server/hl2/ai_allymanager.cpp @@ -164,7 +164,7 @@ void CAI_AllyManager::CountAllies( int *pTotal, int *pMedics ) #ifdef EZ // Blixibon - The soldiers' "IsCommandable" function only checks the spawnflag, so it's fine here - if( FClassnameIs( ppAIs[i], "npc_combine_s" ) ) + if( FClassnameIs( ppAIs[i], "npc_combine_s" ) || FClassnameIs( ppAIs[i], "npc_husk_soldier" ) ) { CNPC_Combine *pCombine = assert_cast(ppAIs[i]); if ( !pCombine->IsCommandable() )