mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-22 20:11:40 +00:00
Fix issue with non-working mapping of smooth turn on buttons
This commit is contained in:
parent
bebce8bfa6
commit
a6b6046e74
1 changed files with 1 additions and 2 deletions
|
@ -1057,6 +1057,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;
|
||||
}
|
||||
|
@ -1102,8 +1103,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