r1279 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Mar 25 17:59:31 EDT 2008
Author: thilo
Date: 2008-03-25 17:59:31 -0400 (Tue, 25 Mar 2008)
New Revision: 1279
Modified:
trunk/code/client/cl_main.c
Log:
Remove obsolete code for obfuscation.
Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c 2008-03-25 21:45:20 UTC (rev 1278)
+++ trunk/code/client/cl_main.c 2008-03-25 21:59:31 UTC (rev 1279)
@@ -1275,21 +1275,11 @@
=================
*/
void CL_SendPureChecksums( void ) {
- const char *pChecksums;
char cMsg[MAX_INFO_VALUE];
- int i;
// if we are pure we need to send back a command with our referenced pk3 checksums
- pChecksums = FS_ReferencedPakPureChecksums();
+ Com_sprintf(cMsg, sizeof(cMsg), "cp %d %s", cl.serverId, FS_ReferencedPakPureChecksums());
- // "cp"
- // "Yf"
- Com_sprintf(cMsg, sizeof(cMsg), "Yf ");
- Q_strcat(cMsg, sizeof(cMsg), va("%d ", cl.serverId) );
- Q_strcat(cMsg, sizeof(cMsg), pChecksums);
- for (i = 0; i < 2; i++) {
- cMsg[i] += 10;
- }
CL_AddReliableCommand( cMsg );
}
More information about the quake3-commits
mailing list