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:
parent
c6a027d3d4
commit
1fec8005e7
1 changed files with 7 additions and 0 deletions
|
@ -1731,6 +1731,13 @@ void SV_SendClientMessages (void)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (c->protocol == SCP_BAD) //this is a bot.
|
||||||
|
{
|
||||||
|
SZ_Clear (&c->netchan.message);
|
||||||
|
SZ_Clear (&c->datagram);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
SVQ3_SendMessage(c);
|
SVQ3_SendMessage(c);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue