aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/client/cl_main.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/code/client/cl_main.c b/code/client/cl_main.c
index af2aab9..211907e 100644
--- a/code/client/cl_main.c
+++ b/code/client/cl_main.c
@@ -1275,21 +1275,11 @@ CL_SendPureChecksums
=================
*/
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 );
}