From 11d9608fcae60f8122d1e79479e997ac77e5c3d0 Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Tue, 25 Mar 2008 21:59:31 +0000 Subject: [PATCH] Remove obsolete code for obfuscation. --- code/client/cl_main.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/code/client/cl_main.c b/code/client/cl_main.c index af2aab9e..211907e6 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 ); }