r3440 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Feb 27 03:32:14 EST 2008


Author: lordhavoc
Date: 2008-02-27 03:32:13 -0500 (Wed, 27 Feb 2008)
New Revision: 3440

Modified:
   trunk/data/qcsrc/server/bots.qc
Log:
fix my fix for bot colors across levels (forgot to make
bot_clientconnect set self.bot_preferredcolors)


Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc	2008-02-27 08:22:11 UTC (rev 3439)
+++ trunk/data/qcsrc/server/bots.qc	2008-02-27 08:32:13 UTC (rev 3440)
@@ -1904,6 +1904,7 @@
 {
 	if (clienttype(self) != CLIENTTYPE_BOT)
 		return;
+	self.bot_preferredcolors = self.clientcolors;
 	self.bot_nextthink = time - random();
 	self.lag_func = bot_lagfunc;
 	self.isbot = TRUE;




More information about the nexuiz-commits mailing list