Fix player model angles.

Same as https://github.com/ValveSoftware/halflife/issues/3075.
This commit is contained in:
Andrey Akhmichin 2021-04-04 22:30:44 +05:00
parent a07acb3d14
commit 93630eae23
1 changed files with 4 additions and 0 deletions

View File

@ -736,6 +736,10 @@ void V_CalcNormalRefdef( struct ref_params_s *pparams )
if( CL_IsThirdPerson() )
{
VectorCopy( camAngles, pparams->viewangles );
}
// Apply this at all times
{
float pitch = camAngles[0];
// Normalize angles