Skip to content

Commit df28972

Browse files
authored
Fix the reversed zoom in/out control states in getControlState (PR #3467, Fixes #2570)
Fix zoom in/out controls reversed in CClientPad::GetControlState
1 parent 1b815b5 commit df28972

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Client/mods/deathmatch/logic/CClientPad.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,10 @@ bool CClientPad::GetControlState(const char* szName, CControllerState& State, bo
323323
return State.LeftStickX == 128;
324324
break; // right
325325
case 7:
326-
return State.RightShoulder2 == 255;
326+
return State.LeftShoulder2 == 255;
327327
break; // zoom in
328328
case 8:
329-
return State.LeftShoulder2 == 255;
329+
return State.RightShoulder2 == 255;
330330
break; // zoom out
331331
case 9:
332332
return State.ButtonTriangle == 255; // enter_exit

0 commit comments

Comments
 (0)