IOQ3 commit 2357

This commit is contained in:
Richard Allen 2012-12-12 19:59:55 +00:00
parent 2ec4254808
commit 976de51c46

View file

@ -590,23 +590,6 @@ void CL_AddReliableCommand(const char *cmd, qboolean isDisconnectCmd)
cmd, sizeof(*clc.reliableCommands));
}
/*
======================
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';
}
/*
=======================================================================