Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 795abbd

Browse files
committed
Fix SharpAim not working
1 parent 85f12de commit 795abbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

System/Controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ namespace RTE {
336336
}
337337

338338
// Translate analog aim input into sharp aim control state
339-
m_ControlStates[AIM_SHARP] = m_AnalogAim.GetMagnitude() > 0.1 && !m_ControlStates[PIE_MENU_ACTIVE];
339+
if (m_AnalogAim.GetMagnitude() > 0.1 && !m_ControlStates[PIE_MENU_ACTIVE]) { m_ControlStates[AIM_SHARP] = true; }
340340

341341
// Disable sharp aim while moving - this also helps with keyboard vs mouse fighting when moving and aiming in opposite directions
342342
if (m_ControlStates[PRESS_RIGHT] || m_ControlStates[PRESS_LEFT] || m_ControlStates[BODY_JUMPSTART] || (m_ControlStates[PIE_MENU_ACTIVE] && !m_ControlStates[SECONDARY_ACTION])) {

0 commit comments

Comments
 (0)