1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2008-12-06 02:07:04 +00:00
parent 0cd836b793
commit 90c028c812

View file

@ -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();