r2644 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun May 20 19:36:57 EDT 2007


Author: div0
Date: 2007-05-20 19:36:57 -0400 (Sun, 20 May 2007)
New Revision: 2644

Modified:
   trunk/data/qcsrc/server/bots.qc
Log:
bots: in LMS and Arena, spectators should count as players when handling minplayers


Modified: trunk/data/qcsrc/server/bots.qc
===================================================================
--- trunk/data/qcsrc/server/bots.qc	2007-05-20 22:50:41 UTC (rev 2643)
+++ trunk/data/qcsrc/server/bots.qc	2007-05-20 23:36:57 UTC (rev 2644)
@@ -2084,7 +2084,7 @@
 
 	FOR_EACH_REALCLIENT(head)
 	{
-		if(head.classname == "player")
+		if(head.classname == "player" || cvar("g_lms") || cvar("g_arena"))
 			++activerealplayers;
 		++realplayers;
 	}




More information about the nexuiz-commits mailing list