mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2024-11-10 15:01:48 +00:00
Update VrInputDefault.c
This commit is contained in:
parent
37fc26e239
commit
2a7c5f0b1d
1 changed files with 2 additions and 2 deletions
|
@ -182,9 +182,9 @@ void HandleInput_Default( ovrInputStateTrackedRemote *pDominantTrackedRemoteNew,
|
|||
|
||||
//Teleport - only does anything if vr_teleport cvar is true
|
||||
if (vr_use_teleport) {
|
||||
if (pSecondaryTrackedRemoteOld->Joystick.y > 0.7f && !ready_teleport) {
|
||||
if ((pSecondaryTrackedRemoteOld->Joystick.y > 0.7f) && !ready_teleport) {
|
||||
ready_teleport = true;
|
||||
} else if (pSecondaryTrackedRemoteOld->Joystick.y < 0.7f & ready_teleport) {
|
||||
} else if ((pSecondaryTrackedRemoteOld->Joystick.y < 0.7f) && ready_teleport) {
|
||||
ready_teleport = false;
|
||||
trigger_teleport = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue