mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Futureproofing.
This commit is contained in:
parent
3d14b29b38
commit
067080296c
1 changed files with 9 additions and 0 deletions
|
@ -134,6 +134,15 @@ JOY_Move (void)
|
|||
if (joy_axes[i].current)
|
||||
viewdelta.position[1] += joy_axes[i].current * mult_joy;
|
||||
break;
|
||||
// Futureproofing
|
||||
case 6:
|
||||
if (joy_axes[i].current)
|
||||
viewdelta.angles[ROLL] += joy_axes[i].current * mult_joy;
|
||||
break;
|
||||
case -6:
|
||||
if (joy_axes[i].current)
|
||||
viewdelta.angles[ROLL] -= joy_axes[i].current * mult_joy;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue