[nexuiz-commits] r6970 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jun 10 19:12:38 EDT 2009


Author: mand1nga
Date: 2009-06-10 19:12:38 -0400 (Wed, 10 Jun 2009)
New Revision: 6970

Modified:
   trunk/data/qcsrc/server/havocbot.qc
Log:
Make bots use the #~?\194?\189?\194?\172&<hr>?\194?\183@!Tuba if available ;)

Modified: trunk/data/qcsrc/server/havocbot.qc
===================================================================
--- trunk/data/qcsrc/server/havocbot.qc	2009-06-10 22:51:04 UTC (rev 6969)
+++ trunk/data/qcsrc/server/havocbot.qc	2009-06-10 23:12:38 UTC (rev 6970)
@@ -743,6 +743,13 @@
 {
 	local float i;
 
+	// ;)
+	if(g_weaponarena == WEPBIT_TUBA)
+	{
+		self.switchweapon = WEP_TUBA;
+		return;
+	}
+
 	// TODO: clean this up by moving it to weapon code
 	if(self.enemy.classname!="player")
 	{



More information about the nexuiz-commits mailing list