Skip to content

Commit

Permalink
Fixed triggering Com_Error() when kicking a large number of bots at o…
Browse files Browse the repository at this point in the history
…nce.

  Fixes Bugzilla #3418.
  • Loading branch information
icculus committed Sep 14, 2009
1 parent ce544b2 commit df13db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/server/sv_net_chan.c
Expand Up @@ -138,7 +138,7 @@ void SV_Netchan_TransmitNextFragment( client_t *client ) {
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
Expand Down

0 comments on commit df13db2

Please sign in to comment.