diff options
author | Zack Middleton <zturtleman@gmail.com> | 2012-11-18 22:12:30 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-12 21:24:48 +0000 |
commit | e13c9900857bc169e16a9a7549da0694a6f285ef (patch) | |
tree | f1ac88088ca385a959a9198ead5bfd3395f5452d /src | |
parent | 849163f9a5950d77c4755cb98a6e2bee15041121 (diff) |
Remove anti tamper leftover code 'CL_ChangeReliableCommand'. From Ensiform.
Diffstat (limited to 'src')
-rw-r--r-- | src/client/cl_main.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/client/cl_main.c b/src/client/cl_main.c index a7806bba..969f39d2 100644 --- a/src/client/cl_main.c +++ b/src/client/cl_main.c @@ -589,23 +589,6 @@ void CL_AddReliableCommand(const char *cmd, qboolean isDisconnectCmd) } /* -====================== -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 |