NX/VITA: Fix ADS Only Gyro mode
This commit is contained in:
parent
e2830e3108
commit
8ad380f6b3
|
@ -317,7 +317,13 @@ void CL_AdjustAngles (void)
|
||||||
// vita gyro support by rinnegatamante (originally from vitaquake)
|
// vita gyro support by rinnegatamante (originally from vitaquake)
|
||||||
// creds to the switch-examples for nx support
|
// creds to the switch-examples for nx support
|
||||||
if (motioncam.value) {
|
if (motioncam.value) {
|
||||||
if (gyromode.value && cl.stats[STAT_ZOOM] == 0 && client_sprinting == 1) //sB fix gyro activating while sprinting.
|
//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)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#ifdef VITA
|
#ifdef VITA
|
||||||
|
|
Loading…
Reference in New Issue