[quake3-commits] r1656 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Oct 11 14:34:15 EDT 2009
Author: thilo
Date: 2009-10-11 14:34:15 -0400 (Sun, 11 Oct 2009)
New Revision: 1656
Modified:
trunk/code/client/cl_main.c
Log:
Whoops.. don't make it overwrite cmds in case of recursive error.
Modified: trunk/code/client/cl_main.c
===================================================================
--- trunk/code/client/cl_main.c 2009-10-11 18:31:00 UTC (rev 1655)
+++ trunk/code/client/cl_main.c 2009-10-11 18:34:15 UTC (rev 1656)
@@ -467,14 +467,13 @@
// we must drop the connection
// also leave one slot open for the disconnect command in this case.
- if (!com_errorEntered &&
- (
- (isDisconnectCmd && unacknowledged > MAX_RELIABLE_COMMANDS) ||
- (!isDisconnectCmd && unacknowledged >= MAX_RELIABLE_COMMANDS)
- )
- )
+ if ((isDisconnectCmd && unacknowledged > MAX_RELIABLE_COMMANDS) ||
+ (!isDisconnectCmd && unacknowledged >= MAX_RELIABLE_COMMANDS))
{
- Com_Error(ERR_DROP, "Client command overflow");
+ if(com_errorEntered)
+ return;
+ else
+ Com_Error(ERR_DROP, "Client command overflow");
}
Q_strncpyz(clc.reliableCommands[++clc.reliableSequence & (MAX_RELIABLE_COMMANDS - 1)],
More information about the quake3-commits
mailing list