From 1a60779659c5cf439d9988da5afc1e495dd51811 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Tue, 15 Aug 2023 16:05:23 +0200 Subject: [PATCH] Disallow movement while weapon zoom is active; it tends to break --- Sources/CryGame C++/Solution1/CryGame/VRInput.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/CryGame C++/Solution1/CryGame/VRInput.cpp b/Sources/CryGame C++/Solution1/CryGame/VRInput.cpp index 4b90ec6..3114a32 100644 --- a/Sources/CryGame C++/Solution1/CryGame/VRInput.cpp +++ b/Sources/CryGame C++/Solution1/CryGame/VRInput.cpp @@ -162,11 +162,11 @@ void VRInput::ProcessInputOnFoot() HandleBooleanAction(m_moveJump, &CXClient::TriggerJump, false); HandleDoubleBindAction(m_weaponsNextDrop, &CXClient::TriggerNextWeapon, &CXClient::TriggerDropWeapon, false); HandleDoubleBindAction(m_weaponsGrenades, &CXClient::CycleGrenade, &CXClient::TriggerFireGrenade, false); + HandleAnalogAction(m_moveMove, 0, &CXClient::TriggerMoveLR); + HandleAnalogAction(m_moveMove, 1, &CXClient::TriggerMoveFB); + HandleBooleanAction(m_moveSprint, &CXClient::TriggerRunSprint); } - HandleAnalogAction(m_moveMove, 0, &CXClient::TriggerMoveLR); - HandleAnalogAction(m_moveMove, 1, &CXClient::TriggerMoveFB); - HandleBooleanAction(m_moveSprint, &CXClient::TriggerRunSprint); HandleBooleanAction(m_weaponsFire, &CXClient::TriggerFire0); HandleDoubleBindAction(m_weaponsReloadFireMode, &CXClient::TriggerReload, &CXClient::TriggerFireMode, false); HandleBooleanAction(m_weaponsGrip, &CXClient::TriggerTwoHandedGrip);