[quake3-commits] r1857 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Feb 4 12:50:34 EST 2011


Author: thilo
Date: 2011-02-04 12:50:34 -0500 (Fri, 04 Feb 2011)
New Revision: 1857

Modified:
   trunk/code/game/g_client.c
Log:
Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting


Modified: trunk/code/game/g_client.c
===================================================================
--- trunk/code/game/g_client.c	2011-02-04 17:47:57 UTC (rev 1856)
+++ trunk/code/game/g_client.c	2011-02-04 17:50:34 UTC (rev 1857)
@@ -720,7 +720,6 @@
 	char	redTeam[MAX_INFO_STRING];
 	char	blueTeam[MAX_INFO_STRING];
 	char	userinfo[MAX_INFO_STRING];
-	char    guid[MAX_INFO_STRING];
 
 	ent = g_entities + clientNum;
 	client = ent->client;
@@ -871,7 +870,6 @@
 
 	strcpy(redTeam, Info_ValueForKey( userinfo, "g_redteam" ));
 	strcpy(blueTeam, Info_ValueForKey( userinfo, "g_blueteam" ));
-	strcpy(guid, Info_ValueForKey(userinfo, "cl_guid"));
 	
 	// send over a subset of the userinfo keys so other clients can
 	// print scoreboards, display models, and play custom sounds
@@ -884,8 +882,8 @@
 	}
 	else
 	{
-		s = va("n\\%s\\guid\\%s\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\g_blueteam\\%s\\c1\\%s\\c2\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
-			client->pers.netname, guid, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2, 
+		s = va("n\\%s\\t\\%i\\model\\%s\\hmodel\\%s\\g_redteam\\%s\\g_blueteam\\%s\\c1\\%s\\c2\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d",
+			client->pers.netname, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2, 
 			client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader);
 	}
 



More information about the quake3-commits mailing list