mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Fix Gyro not working if walking forward
This commit is contained in:
parent
aa261665f4
commit
0a8f24ac1e
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue