From b4538047f1abe9a759d59fad115b0e20d78c9384 Mon Sep 17 00:00:00 2001 From: JessePinkman Date: Wed, 12 Jun 2024 23:13:31 -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 f8c802ccbb9..d41ad8a92f6 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;