mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
IOQ3 commit 2357
This commit is contained in:
parent
2ec4254808
commit
976de51c46
1 changed files with 0 additions and 17 deletions
|
@ -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';
|
||||
}
|
||||
|
||||
/*
|
||||
=======================================================================
|
||||
|
||||
|
|
Loading…
Reference in a new issue