don't overflow q3 bots.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1287 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2005-09-08 01:52:32 +00:00
parent c6a027d3d4
commit 1fec8005e7

View file

@ -1731,6 +1731,13 @@ void SV_SendClientMessages (void)
continue;
}
if (c->protocol == SCP_BAD) //this is a bot.
{
SZ_Clear (&c->netchan.message);
SZ_Clear (&c->datagram);
continue;
}
SVQ3_SendMessage(c);
}
return;