[quake3-commits] r1596 - trunk/code/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Sep 14 19:12:54 EDT 2009
Author: icculus
Date: 2009-09-14 19:12:54 -0400 (Mon, 14 Sep 2009)
New Revision: 1596
Modified:
trunk/code/server/sv_net_chan.c
Log:
Fixed triggering Com_Error() when kicking a large number of bots at once.
Fixes Bugzilla #3418.
Modified: trunk/code/server/sv_net_chan.c
===================================================================
--- trunk/code/server/sv_net_chan.c 2009-09-14 23:01:49 UTC (rev 1595)
+++ trunk/code/server/sv_net_chan.c 2009-09-14 23:12:54 UTC (rev 1596)
@@ -138,7 +138,7 @@
if (!client->netchan.unsentFragments)
{
// make sure the netchan queue has been properly initialized (you never know)
- if (!client->netchan_end_queue) {
+ if ((!client->netchan_end_queue) && (client->state >= CS_CONNECTED)) {
Com_Error(ERR_DROP, "netchan queue is not properly initialized in SV_Netchan_TransmitNextFragment\n");
}
// the last fragment was transmitted, check wether we have queued messages
More information about the quake3-commits
mailing list