mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
Fixed triggering Com_Error() when kicking a large number of bots at once.
Fixes Bugzilla #3418.
This commit is contained in:
parent
ce544b23e6
commit
df13db2b64
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void SV_Netchan_TransmitNextFragment( client_t *client ) {
|
||||||
if (!client->netchan.unsentFragments)
|
if (!client->netchan.unsentFragments)
|
||||||
{
|
{
|
||||||
// make sure the netchan queue has been properly initialized (you never know)
|
// 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");
|
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
|
// the last fragment was transmitted, check wether we have queued messages
|
||||||
|
|
Loading…
Reference in a new issue