[quake3-commits] r2357 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Nov 18 17:12:30 EST 2012


Author: ztm
Date: 2012-11-18 17:12:30 -0500 (Sun, 18 Nov 2012)
New Revision: 2357

Modified:
   trunk/code/client/cl_main.c
Log:
Remove anti tamper leftover code 'CL_ChangeReliableCommand'. From Ensiform.

Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c	2012-11-18 22:08:58 UTC (rev 2356)
+++ trunk/code/client/cl_main.c	2012-11-18 22:12:30 UTC (rev 2357)
@@ -591,23 +591,6 @@
 }
 
 /*
-======================
-CL_ChangeReliableCommand
-======================
-*/
-void CL_ChangeReliableCommand( void ) {
-	int index, l;
-
-	index = clc.reliableSequence & ( MAX_RELIABLE_COMMANDS - 1 );
-	l = strlen(clc.reliableCommands[ index ]);
-	if ( l >= MAX_STRING_CHARS - 1 ) {
-		l = MAX_STRING_CHARS - 2;
-	}
-	clc.reliableCommands[ index ][ l ] = '\n';
-	clc.reliableCommands[ index ][ l+1 ] = '\0';
-}
-
-/*
 =======================================================================
 
 CLIENT SIDE DEMO RECORDING



More information about the quake3-commits mailing list