mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-12-01 16:32:56 +00:00
Fix comfort vignette to not be applied when not moving/turning
This commit is contained in:
parent
1b96e61dd2
commit
d341a034e7
1 changed files with 1 additions and 1 deletions
|
@ -2603,7 +2603,7 @@ static void CG_DrawVignette( void )
|
||||||
}
|
}
|
||||||
|
|
||||||
const float yawDelta = fabsf(vr->clientview_yaw_delta);
|
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)
|
if (currentComfortVignetteValue < comfortVignetteValue)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue