From d341a034e74a08036e29f21a72206dadb88d2bf3 Mon Sep 17 00:00:00 2001 From: Petr Bartos Date: Sat, 19 Mar 2022 08:29:18 +0100 Subject: [PATCH] Fix comfort vignette to not be applied when not moving/turning --- android/app/src/main/cpp/code/cgame/cg_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/cpp/code/cgame/cg_draw.c b/android/app/src/main/cpp/code/cgame/cg_draw.c index 6c95854e..fc98983f 100644 --- a/android/app/src/main/cpp/code/cgame/cg_draw.c +++ b/android/app/src/main/cpp/code/cgame/cg_draw.c @@ -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) {