Skip to content

Commit

Permalink
Fix zoom in/out controls reversed in CClientPad::GetControlState
Browse files Browse the repository at this point in the history
  • Loading branch information
bum8hj committed Jun 13, 2024
1 parent 8f2b6d4 commit 59d613a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Client/mods/deathmatch/logic/CClientPad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 59d613a

Please sign in to comment.