mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Merge branch 'master' of https://github.com/DrBeef/ioq3quest
This commit is contained in:
commit
726c9e1e95
1 changed files with 1 additions and 2 deletions
|
@ -1061,6 +1061,7 @@ static void IN_VRButtons( qboolean isRightController, uint32_t buttons )
|
|||
{
|
||||
if (cl.snap.ps.pm_flags & PMF_FOLLOW)
|
||||
{
|
||||
controller->buttons |= ovrButton_X;
|
||||
//Switch follow mode
|
||||
vr.follow_mode = (vr.follow_mode+1) % VRFM_NUM_FOLLOWMODES;
|
||||
}
|
||||
|
@ -1106,8 +1107,6 @@ static void IN_VRButtons( qboolean isRightController, uint32_t buttons )
|
|||
IN_SendButtonAction(action, qfalse, qfalse, 0);
|
||||
}
|
||||
}
|
||||
|
||||
controller->buttons = buttons;
|
||||
}
|
||||
|
||||
void IN_VRInputFrame( void )
|
||||
|
|
Loading…
Reference in a new issue