r3880 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Jul 22 02:23:30 EDT 2008


Author: div0
Date: 2008-07-22 02:23:29 -0400 (Tue, 22 Jul 2008)
New Revision: 3880

Modified:
   trunk/data/qcsrc/server/g_world.qc
Log:
"teamscores" log entry


Modified: trunk/data/qcsrc/server/g_world.qc
===================================================================
--- trunk/data/qcsrc/server/g_world.qc	2008-07-22 06:23:11 UTC (rev 3879)
+++ trunk/data/qcsrc/server/g_world.qc	2008-07-22 06:23:29 UTC (rev 3880)
@@ -1010,6 +1010,19 @@
 		}
 	}
 
+	if(g_ctf)
+	if(cvar("g_ctf_win_mode") != 2)
+	{
+		s = strcat(":teamscores:", ftos(caps_team1), ":");
+		s = strcat(s, ftos(caps_team2), ":0:0");
+		if(to_console)
+			ServerConsoleEcho(s, TRUE);
+		if(to_eventlog)
+			GameLogEcho(s, TRUE);
+		if(to_file)
+			fputs(file, strcat(s, "\n"));
+	}
+
 	if(to_console)
 		ServerConsoleEcho(":end", FALSE);
 	if(to_eventlog)




More information about the nexuiz-commits mailing list