Does that make bots any more consistant?
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@256 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
75764a9c5d
commit
81c77ee8ab
1 changed files with 4 additions and 2 deletions
|
@ -1124,8 +1124,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++)
|
||||
{
|
||||
isbot = !cl->state && cl->name[0];
|
||||
if (cl->state != cs_spawned && !isbot && !sv.demostatevalid)
|
||||
continue;
|
||||
if (!sv.demostatevalid)
|
||||
if (cl->state != cs_spawned) //this includes bots
|
||||
if (!isbot || progstype != PROG_NQ) //unless they're NQ bots...
|
||||
continue;
|
||||
|
||||
ent = cl->edict;
|
||||
if (cl->viewent && ent == clent)
|
||||
|
|
Loading…
Reference in a new issue