Remove references to the dead .pitch attribute

This commit is contained in:
Marco Cawthorne 2022-02-01 10:10:50 -08:00
parent c1166c8a22
commit f06747030b
Signed by: eukara
GPG Key ID: C196CD8BA993248A
2 changed files with 1 additions and 6 deletions

View File

@ -604,7 +604,7 @@ TS_View_DrawExtraEffects(player pl, int thirdperson)
}else{
posView = pl.origin + pl.view_ofs;
angView = [pl.pitch, pl.angles[1], pl.angles[2]];
angView = pl.v_angle;
gunpos = posView;
angGun = angView;
}

View File

@ -106,13 +106,8 @@ Animation_PlayerUpdate(player pl)
/* Correct the legs */
pl.angles[1] -= fCorrect;
#ifdef SERVER
pl.subblendfrac =
pl.subblend2frac = pl.v_angle[0] / 90;
#else
pl.subblendfrac =
pl.subblend2frac = pl.pitch / 90;
#endif
}
void