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:
parent
72d983a8b8
commit
d76ae63551
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue