diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-02-16 20:29:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-16 20:29:55 +0100 |
commit | 4d8f34082757f0c4d1656d392e5043e1fd73335a (patch) | |
tree | 6a3640fc34102281613a0ec2b6a69c5332cbdc6e /src | |
parent | Merge pull request #1090 from AGraber/patch-1 (diff) | |
parent | Fix mistake (diff) | |
download | re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar.gz re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar.bz2 re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar.lz re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar.xz re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.tar.zst re3-4d8f34082757f0c4d1656d392e5043e1fd73335a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Frontend.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index 07b8f996..9c6d6f24 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -2166,7 +2166,11 @@ CMenuManager::DrawControllerBound(int32 yStart, int32 xStart, int32 unused, int8 // Print bindings, including seperator (-) between them CFont::SetScale(MENU_X(0.25f), MENU_Y(SMALLESTTEXT_Y_SCALE)); +#ifdef FIX_BUGS + for (; contSetOrder < MAX_SETORDERS && controllerAction >= 0; contSetOrder++) { +#else for (; contSetOrder < MAX_SETORDERS && controllerAction != -1; contSetOrder++) { +#endif wchar *settingText = ControlsManager.GetControllerSettingTextWithOrderNumber((e_ControllerAction)controllerAction, (eContSetOrder)contSetOrder); if (settingText) { ++bindingsForThisOpt; |