Client/CMenus: Actually process and show all bindings with modifiers

This commit is contained in:
Alexander Akulich 2022-02-07 01:42:44 +03:00
parent e0876960fc
commit 7d1595f06f

View file

@ -893,7 +893,7 @@ void CMenus::RenderSettingsControls(CUIRect MainView)
for(auto &Key : gs_aKeys)
Key.m_KeyId = Key.m_ModifierCombination = 0;
for(int Mod = 0; Mod < CBinds::MODIFIER_COUNT; Mod++)
for(int Mod = 0; Mod < CBinds::MODIFIER_COMBINATION_COUNT; Mod++)
{
for(int KeyId = 0; KeyId < KEY_LAST; KeyId++)
{