Merge pull request #42 from tyleryoung88/main

This commit is contained in:
cypress 2023-11-30 14:30:25 -05:00 committed by GitHub
commit b77b49e4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -695,6 +695,7 @@ extern float cl_forwardspeed;
extern float cl_sidespeed;
extern cvar_t in_aimassist;
qboolean croshhairmoving;
extern qboolean paused_hack;
float client_sprinting;
@ -773,8 +774,11 @@ void IN_JoyMove (usercmd_t *cmd)
speed = speed * (sensitivity.value / 11.0);
//shpuld end
if(paused_hack != true)
{
cl.viewangles[YAW] -= lookEased.x * speed * joy_sensitivity_yaw.value * host_frametime;
cl.viewangles[PITCH] += lookEased.y * speed * joy_sensitivity_pitch.value * (joy_invert.value ? -1.0 : 1.0) * host_frametime;
}
if (lookEased.x != 0 || lookEased.y != 0)
V_StopPitchDrift();