Fix comfort vignette to not be applied when not moving/turning

This commit is contained in:
Petr Bartos 2022-03-19 08:29:18 +01:00
parent 1b96e61dd2
commit d341a034e7

View file

@ -2603,7 +2603,7 @@ static void CG_DrawVignette( void )
}
const float yawDelta = fabsf(vr->clientview_yaw_delta);
if (VectorLength(cg.predictedPlayerState.velocity) > 30.0 || (yawDelta > 0 && yawDelta < 20) || (yawDelta > 340))
if (VectorLength(cg.predictedPlayerState.velocity) > 30.0 || (yawDelta > 1 && yawDelta < 20) || (yawDelta > 340))
{
if (currentComfortVignetteValue < comfortVignetteValue)
{