r3230 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Jan 23 01:41:05 EST 2008


Author: div0
Date: 2008-01-23 01:41:05 -0500 (Wed, 23 Jan 2008)
New Revision: 3230

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
fix bug WinningCondition_RanOutOfSpawns that made it check for team spawns even in teamplay modes where you randomly spawn


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-01-22 21:42:32 UTC (rev 3229)
+++ trunk/data/qcsrc/server/g_world.qc	2008-01-23 06:41:05 UTC (rev 3230)
@@ -1533,7 +1533,7 @@
 {
 	entity head;
 
-	if(!teams_matter)
+	if(!g_ctf && !g_assault && !g_onslaught)
 		return WINNING_NO;
 
 	team1_score = team2_score = team3_score = team4_score = 0;




More information about the nexuiz-commits mailing list