mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Fixed Gyro aiming activating while sprinting (while set to ADS only)
just as it says
This commit is contained in:
parent
9a24596e46
commit
18a5ae1fb9
2 changed files with 4 additions and 1 deletions
Binary file not shown.
|
@ -267,6 +267,9 @@ CL_AdjustAngles
|
|||
Moves the local angle positions
|
||||
================
|
||||
*/
|
||||
|
||||
extern float client_sprinting; //sB fix a bugggggggg and SQUASH
|
||||
|
||||
void CL_AdjustAngles (void)
|
||||
{
|
||||
float speed;
|
||||
|
@ -314,7 +317,7 @@ 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)
|
||||
if (gyromode.value && cl.stats[STAT_ZOOM] == 0 || client_sprinting == 1) //sB fix gyro activating while sprinting.
|
||||
return;
|
||||
|
||||
#ifdef VITA
|
||||
|
|
Loading…
Reference in a new issue