mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Fix ADS Only Gyro mode
This commit is contained in:
parent
e2830e3108
commit
8ad380f6b3
1 changed files with 7 additions and 1 deletions
|
@ -317,7 +317,13 @@ void CL_AdjustAngles (void)
|
|||
// vita gyro support by rinnegatamante (originally from vitaquake)
|
||||
// creds to the switch-examples for nx support
|
||||
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;
|
||||
|
||||
#ifdef VITA
|
||||
|
|
Loading…
Reference in a new issue