Don't handle lalt separately

This commit is contained in:
def 2021-12-19 23:42:34 +01:00
parent 98df2f25eb
commit d23bd12c03

View file

@ -2613,7 +2613,7 @@ void CMenus::RenderBackground()
bool CMenus::CheckHotKey(int Key) const bool CMenus::CheckHotKey(int Key) const
{ {
return m_Popup == POPUP_NONE && return m_Popup == POPUP_NONE &&
!Input()->KeyIsPressed(KEY_LSHIFT) && !Input()->KeyIsPressed(KEY_RSHIFT) && !Input()->ModifierIsPressed() && !Input()->KeyIsPressed(KEY_LALT) && // no modifier !Input()->KeyIsPressed(KEY_LSHIFT) && !Input()->KeyIsPressed(KEY_RSHIFT) && !Input()->ModifierIsPressed() && // no modifier
Input()->KeyIsPressed(Key) && m_pClient->m_GameConsole.IsClosed(); Input()->KeyIsPressed(Key) && m_pClient->m_GameConsole.IsClosed();
} }