summaryrefslogtreecommitdiffstats
path: root/src/core/ControllerConfig.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-15 02:40:34 +0100
committershfil <filip.gawin@zoho.com>2021-01-17 21:33:53 +0100
commit448e41ecaa66483c4cf764fdeb66a857a42719cf (patch)
tree15074cca348cdfcb33e45ecf3ae011dea6f68953 /src/core/ControllerConfig.cpp
parentIncludes overhaul, fix some compiler warnings (diff)
downloadre3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.gz
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.bz2
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.lz
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.xz
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.tar.zst
re3-448e41ecaa66483c4cf764fdeb66a857a42719cf.zip
Diffstat (limited to 'src/core/ControllerConfig.cpp')
-rw-r--r--src/core/ControllerConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ControllerConfig.cpp b/src/core/ControllerConfig.cpp
index 600738ee..ee3cb959 100644
--- a/src/core/ControllerConfig.cpp
+++ b/src/core/ControllerConfig.cpp
@@ -2797,7 +2797,7 @@ void CControllerConfigManager::ResetSettingOrder(e_ControllerAction action)
for (int32 k = 0; k < MAX_CONTROLLERTYPES; k++)
{
int32 setorder = m_aSettings[action][k].m_ContSetOrder;
- if (setorder > i && setorder != KEYBOARD)
+ if (setorder > i && setorder != 0)
{
if (init)
{