clear fixangle on botclients, allowing them to update their angles to match v_angle automatically
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3089 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
0cd836b793
commit
90c028c812
1 changed files with 3 additions and 0 deletions
|
@ -1776,6 +1776,9 @@ void SV_RunEntity (edict_t *ent)
|
|||
return; // unconnected slot
|
||||
|
||||
|
||||
if (svs.clients[ent->entnum-1].protocol == SCP_BAD)
|
||||
svs.clients[ent->entnum-1].edict->v->fixangle = 0; //bots never get fixangle cleared otherwise
|
||||
|
||||
host_client = &svs.clients[ent->entnum-1];
|
||||
SV_ClientThink();
|
||||
|
||||
|
|
Loading…
Reference in a new issue