r2534 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri May 11 06:48:26 EDT 2007


Author: div0
Date: 2007-05-11 06:48:26 -0400 (Fri, 11 May 2007)
New Revision: 2534

Modified:
   trunk/data/qcsrc/server/teamplay.qc
Log:
don't check classname when joining best team as it is even "player" for just connected players


Modified: trunk/data/qcsrc/server/teamplay.qc
===================================================================
--- trunk/data/qcsrc/server/teamplay.qc	2007-05-09 18:12:41 UTC (rev 2533)
+++ trunk/data/qcsrc/server/teamplay.qc	2007-05-11 10:48:26 UTC (rev 2534)
@@ -681,7 +681,7 @@
 	balance_type = 1;
 
 	if(bots_would_leave)
-	if(pl.classname != "player")
+	//if(pl.classname != "player")
 	if(clienttype(pl) != CLIENTTYPE_BOT)
 	{
 		c1 -= cb1 * 255.0/256;




More information about the nexuiz-commits mailing list