[quake3-commits] r2274 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jun 18 16:11:09 EDT 2012


Author: ztm
Date: 2012-06-18 16:11:09 -0400 (Mon, 18 Jun 2012)
New Revision: 2274

Modified:
   trunk/code/game/ai_chat.c
Log:
Only have bots issue vtaunt commands in Team Arena.

Modified: trunk/code/game/ai_chat.c
===================================================================
--- trunk/code/game/ai_chat.c	2012-06-18 17:12:35 UTC (rev 2273)
+++ trunk/code/game/ai_chat.c	2012-06-18 20:11:09 UTC (rev 2274)
@@ -488,7 +488,9 @@
 	if (bs->lastchat_time > FloatTime() - TIME_BETWEENCHATTING) return qfalse;
 	//don't chat in teamplay
 	if (TeamPlayIsOn()) {
+#ifdef MISSIONPACK
 	    trap_EA_Command(bs->client, "vtaunt");
+#endif
 	    return qfalse;
 	}
 	// don't chat in tournament mode
@@ -521,9 +523,11 @@
 	// teamplay
 	if (TeamPlayIsOn()) 
 	{
+#ifdef MISSIONPACK
 		if (BotIsFirstInRankings(bs)) {
 			trap_EA_Command(bs->client, "vtaunt");
 		}
+#endif
 		return qtrue;
 	}
 	// don't chat in tournament mode
@@ -600,7 +604,9 @@
 	{
 		//teamplay
 		if (TeamPlayIsOn()) {
+#ifdef MISSIONPACK
 			trap_EA_Command(bs->client, "vtaunt");
+#endif
 			return qtrue;
 		}
 		//
@@ -702,7 +708,9 @@
 	{
 		//don't chat in teamplay
 		if (TeamPlayIsOn()) {
+#ifdef MISSIONPACK
 			trap_EA_Command(bs->client, "vtaunt");
+#endif
 			return qfalse;			// don't wait
 		}
 		//
@@ -925,7 +933,9 @@
 		EasyClientName(bs->lastkilledplayer, name, sizeof(name));
 	}
 	if (TeamPlayIsOn()) {
+#ifdef MISSIONPACK
 		trap_EA_Command(bs->client, "vtaunt");
+#endif
 		return qfalse;			// don't wait
 	}
 	//



More information about the quake3-commits mailing list