mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Merge pull request #25 from petr666/master
Fix comfort vignette to not be applied when not moving/turning
This commit is contained in:
commit
950f36de85
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);
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue