r1490 - trunk/code/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jan 11 13:42:50 EST 2009


Author: ludwig
Date: 2009-01-11 13:42:50 -0500 (Sun, 11 Jan 2009)
New Revision: 1490

Modified:
   trunk/code/server/sv_main.c
Log:
gamename is already a cvar with CVAR_SERVERINFO

do not set gamename to different values in getstatus and getinfo responses

Modified: trunk/code/server/sv_main.c
===================================================================
--- trunk/code/server/sv_main.c	2008-11-12 13:40:05 UTC (rev 1489)
+++ trunk/code/server/sv_main.c	2009-01-11 18:42:50 UTC (rev 1490)
@@ -413,7 +413,6 @@
 		va("%i", sv_maxclients->integer - sv_privateClients->integer ) );
 	Info_SetValueForKey( infostring, "gametype", va("%i", sv_gametype->integer ) );
 	Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) );
-	Info_SetValueForKey( infostring, "gamename", GAMENAME_FOR_MASTER );
 
 #ifdef USE_VOIP
 	if (sv_voip->integer) {




More information about the quake3-commits mailing list