diff --git a/code/game/ai_team.c b/code/game/ai_team.c index c1d0394..823f8f3 100644 --- a/code/game/ai_team.c +++ b/code/game/ai_team.c @@ -2085,8 +2085,13 @@ int FindHumanTeamLeader(bot_state_t *bs) { ClientName(i, bs->teamleader, sizeof(bs->teamleader)); // if not yet ordered to do anything if ( !BotSetLastOrderedTask(bs) ) { +#ifdef MISSIONPACK // go on defense by default - if (bot_nochat.integer<3)BotVoiceChat_Defend(bs, i, SAY_TELL); + BotVoiceChat_Defend(bs, i, SAY_TELL); +#else + // Nothing! + return qfalse; +#endif } return qtrue; } diff --git a/code/game/ai_vcmd.c b/code/game/ai_vcmd.c index d8cd903..41bd7f6 100644 --- a/code/game/ai_vcmd.c +++ b/code/game/ai_vcmd.c @@ -54,6 +54,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include "syn.h" //synonyms #include "match.h" //string matching types and vars +#ifdef MISSIONPACK // for the voice chats #include "../../ui/menudef.h" @@ -529,3 +530,4 @@ int BotVoiceChatCommand(bot_state_t *bs, int mode, char *voiceChat) { } return qfalse; } +#endif