mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-03 02:24:28 +00:00
Fix player model angles.
Same as https://github.com/ValveSoftware/halflife/issues/3075.
This commit is contained in:
parent
a07acb3d14
commit
93630eae23
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user