Ticket #50: sg-trac-50.diff

File sg-trac-50.diff, 1.5 KB (added by barto, 12 years ago)

sg-trac-50.diff

  • code/game/g_client.c

    diff --git a/code/game/g_client.c b/code/game/g_client.c
    index 0b0b89d..791506c 100644
    a b void ClientUserinfoChanged( int clientNum ) { 
    12291229#ifdef SMOKINGUNS
    12301230        char    version[MAX_INFO_STRING];
    12311231        char    md5[MAX_INFO_STRING];
     1232        char    guid[MAX_INFO_STRING];
    12321233#endif
    12331234
    12341235        ent = g_entities + clientNum;
    void ClientUserinfoChanged( int clientNum ) { 
    15521553#else
    15531554        strcpy(version, Info_ValueForKey( userinfo, "cl_version" ));
    15541555        strcpy(md5, Info_ValueForKey( userinfo, "cl_md5" ));
     1556        strcpy(guid, Info_ValueForKey( userinfo, "cl_guid" ));
    15551557#endif
    15561558        strcpy(redTeam, Info_ValueForKey( userinfo, "g_redteam" ));
    15571559        strcpy(blueTeam, Info_ValueForKey( userinfo, "g_blueteam" ));
    void ClientUserinfoChanged( int clientNum ) { 
    15791581                        client->pers.netname, client->sess.sessionTeam, model, headModel, redTeam, blueTeam, c1, c2,
    15801582                        client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader);
    15811583#else
    1582                 s = va("\\n\\%s\\t\\%i\\model\\%s\\g_redteam\\%s\\g_blueteam\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d\\v\\%s\\md5\\%s",
     1584                s = va("\\n\\%s\\t\\%i\\model\\%s\\g_redteam\\%s\\g_blueteam\\%s\\hc\\%i\\w\\%i\\l\\%i\\tt\\%d\\tl\\%d\\v\\%s\\md5\\%s\\guid\\%s",
    15831585                        client->pers.netname, client->sess.sessionTeam, model, redTeam, blueTeam,
    1584                         client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader, version, md5);
     1586                        client->pers.maxHealth, client->sess.wins, client->sess.losses, teamTask, teamLeader, version, md5, guid);
    15851587#endif
    15861588        }
    15871589