From 59d613af9e952853beab1b0693563b87c2e5a8af Mon Sep 17 00:00:00 2001 From: JessePinkman Date: Wed, 12 Jun 2024 23:03:34 -0400 Subject: [PATCH] Fix zoom in/out controls reversed in CClientPad::GetControlState --- Client/mods/deathmatch/logic/CClientPad.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Client/mods/deathmatch/logic/CClientPad.cpp b/Client/mods/deathmatch/logic/CClientPad.cpp index f8c802ccbb..d41ad8a92f 100644 --- a/Client/mods/deathmatch/logic/CClientPad.cpp +++ b/Client/mods/deathmatch/logic/CClientPad.cpp @@ -330,10 +330,10 @@ bool CClientPad::GetControlState(const char* szName, CControllerState& State, bo return State.LeftStickX == 128; break; // right case 7: - return State.RightShoulder2 == 255; + return State.LeftShoulder2 == 255; break; // zoom in case 8: - return State.LeftShoulder2 == 255; + return State.RightShoulder2 == 255; break; // zoom out case 9: return false;