r4757 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Oct 14 15:27:40 EDT 2008


Author: div0
Date: 2008-10-14 15:27:40 -0400 (Tue, 14 Oct 2008)
New Revision: 4757

Modified:
   trunk/data/qcsrc/server/bots.qc
Log:
more bot colors


Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc	2008-10-14 19:22:00 UTC (rev 4756)
+++ trunk/data/qcsrc/server/bots.qc	2008-10-14 19:27:40 UTC (rev 4757)
@@ -1442,9 +1442,9 @@
 	suffix = cvar_string("bot_suffix");
 
 	// this is really only a default, JoinBestTeam is called later
-	pants = bound(0, floor(random() * 13), 13);
-	//shirt = bound(0, floor(random() * 16), 15);
-	shirt = pants;
+	pants = floor(random() * 15);
+	shirt = floor(random() * 15);
+	//shirt = pants;
 	setcolor(self, shirt * 16 + pants);
 	self.bot_preferredcolors = self.clientcolors;
 




More information about the nexuiz-commits mailing list