From 0a8f24ac1e90a38d21f231ce566494e6d9dc5829 Mon Sep 17 00:00:00 2001 From: Ian Date: Fri, 8 Sep 2023 15:53:52 -0400 Subject: [PATCH] NX/VITA: Fix Gyro not working if walking forward --- source/cl_input.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/cl_input.c b/source/cl_input.c index bbae409..8665513 100644 --- a/source/cl_input.c +++ b/source/cl_input.c @@ -317,13 +317,9 @@ void CL_AdjustAngles (void) // vita gyro support by rinnegatamante (originally from vitaquake) // creds to the switch-examples for nx support if (motioncam.value) { - //sB fix gyro activating while sprinting. - // cypress -- oops! this killed our early return! moving it - if (client_sprinting == 1) - return; // If gyro is set to ADS only and we're not ADSing, goodbye. - if (gyromode.value && cl.stats[STAT_ZOOM] == 0) + if (gyromode.value && cl.stats[STAT_ZOOM] != 1 && cl.stats[STAT_ZOOM] != 2) return; #ifdef VITA