1
0
Fork 0
forked from fte/fteqw

Fixes the recent prediction bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2395 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-09-26 22:54:27 +00:00
parent 72d983a8b8
commit d76ae63551

View file

@ -1617,10 +1617,10 @@ void SV_WritePlayersToClient (client_t *client, edict_t *clent, qbyte *pvs, size
for (j=0,cl=svs.clients ; j<sv.allocated_client_slots ; j++,cl++)
{
if (cl->state != cs_spawned) //this includes bots
if (cl->state != cs_spawned || (cl->state == cs_free && cl->name[0])) //this includes bots, and nq bots
continue;
isbot = (cl->name[0] || cl->protocol == SCP_BAD);
isbot = (!cl->name[0] || cl->protocol == SCP_BAD);
ent = cl->edict;
if (cl->viewent && ent == clent)
{