diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-09-14 23:12:54 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-09-14 23:12:54 +0000 |
commit | e0f111c7c4f50e5c677d2f5892e4eb3e9ec18a79 (patch) | |
tree | a347be6f9165e70735880fd178b39c2894345b1d /code/server | |
parent | fe9edcfad4560857fad76f69ce17f9f7c1c87958 (diff) | |
download | ioquake3-aero-e0f111c7c4f50e5c677d2f5892e4eb3e9ec18a79.tar.gz ioquake3-aero-e0f111c7c4f50e5c677d2f5892e4eb3e9ec18a79.zip |
Fixed triggering Com_Error() when kicking a large number of bots at once.
Fixes Bugzilla #3418.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1596 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/server')
-rw-r--r-- | code/server/sv_net_chan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/server/sv_net_chan.c b/code/server/sv_net_chan.c index 9cc3fae..dd039ef 100644 --- a/code/server/sv_net_chan.c +++ b/code/server/sv_net_chan.c @@ -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 |