diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-22 01:44:01 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-22 02:48:12 +0200 |
commit | a5f23a03424cf312add998edce6ef4122c0a29d4 (patch) | |
tree | b05a0255a5742a13e90a3a8f735190e4dd7f5706 /src/core/ControllerConfig.cpp | |
parent | Merge pull request #573 from Nick007J/miami (diff) | |
download | re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.gz re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.bz2 re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.lz re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.xz re3-a5f23a03424cf312add998edce6ef4122c0a29d4.tar.zst re3-a5f23a03424cf312add998edce6ef4122c0a29d4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/ControllerConfig.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp index 6a5080e5..453889a5 100644 --- a/src/core/ControllerConfig.cpp +++ b/src/core/ControllerConfig.cpp @@ -769,7 +769,7 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_ThirdPersonOnl if (button == GetControllerKeyAssociatedWithAction(PED_SPRINT, type)) state.Cross = 255; - if (CMenuManager::m_ControlMethod == CONTROL_CLASSIC) + if (FrontEndMenuManager.m_ControlMethod == CONTROL_CLASSIC) { if (button == GetControllerKeyAssociatedWithAction(PED_CYCLE_TARGET_LEFT, type)) state.LeftShoulder2 = 255; @@ -835,7 +835,7 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_FirstAndThirdP state.RightStickX = 128; } - if (CMenuManager::m_ControlMethod == CONTROL_CLASSIC) + if (FrontEndMenuManager.m_ControlMethod == CONTROL_CLASSIC) { if (button == GetControllerKeyAssociatedWithAction(PED_1RST_PERSON_LOOK_UP, type)) { @@ -1617,7 +1617,7 @@ void CControllerConfigManager::DeleteMatching3rdPersonControls(e_ControllerActio if (key == GetControllerKeyAssociatedWithAction(PED_SPRINT, type)) ClearSettingsAssociatedWithAction(PED_SPRINT, type); - if (CMenuManager::m_ControlMethod == CONTROL_CLASSIC) + if (FrontEndMenuManager.m_ControlMethod == CONTROL_CLASSIC) { if (key == GetControllerKeyAssociatedWithAction(PED_CYCLE_TARGET_LEFT, type)) ClearSettingsAssociatedWithAction(PED_CYCLE_TARGET_LEFT, type); @@ -1640,7 +1640,7 @@ void CControllerConfigManager::DeleteMatching1rst3rdPersonControls(e_ControllerA if (key == GetControllerKeyAssociatedWithAction(GO_BACK, type)) ClearSettingsAssociatedWithAction(GO_BACK, type); - if (CMenuManager::m_ControlMethod == CONTROL_CLASSIC) + if (FrontEndMenuManager.m_ControlMethod == CONTROL_CLASSIC) { if (key == GetControllerKeyAssociatedWithAction(PED_1RST_PERSON_LOOK_LEFT, type)) ClearSettingsAssociatedWithAction(PED_1RST_PERSON_LOOK_LEFT, type); |