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

View File

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