2
0
mirror of https://github.com/FWGS/hlsdk-xash3d synced 2024-11-25 19:29:13 +01:00

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() )
{
VectorCopy( camAngles, pparams->viewangles );
}
// Apply this at all times
{
float pitch = camAngles[0];
// Normalize angles