NSTalkMonster: bone controller for head turning is handled server-side now, so remove this code in predraw.

This commit is contained in:
Marco Cawthorne 2023-07-29 18:20:19 -07:00
parent 762d1667d0
commit 35b427b84d
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 0 additions and 8 deletions

View File

@ -955,14 +955,6 @@ NSTalkMonster::predraw(void)
bonecontrol3 = autocvar(bonecontrol3, 0);
bonecontrol4 = autocvar(bonecontrol4, 0);
/* this will make the actor 'aim" at the target */
{
makevectors(v_angle);
vector tmp = vectoangles(v_forward);
subblendfrac = tmp[0] / 90;
bonecontrol1 = m_flHeadYaw; /* head turning */
}
//print(sprintf("yaw: %f %f\n", subblendfrac, v_angle[0]));
subblend2frac = autocvar(subblend2frac, 0);
basesubblendfrac = autocvar(basesubblendfrac, 0);