From 387e33a4e3d03e9658e1e5328f8361e61dd8c83c Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Fri, 4 Feb 2011 17:50:34 +0000 Subject: [PATCH] Remove guid again because we don't want every play on the server to know all guids, thanks brain for reporting --- code/game/g_client.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/game/g_client.c b/code/game/g_client.c index 1c9dbd73..29e1fac9 100644 --- a/code/game/g_client.c +++ b/code/game/g_client.c @@ -720,7 +720,6 @@ void ClientUserinfoChanged( int clientNum ) { 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 @@ void ClientUserinfoChanged( int clientNum ) { 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 @@ void ClientUserinfoChanged( int clientNum ) { } 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); }