mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Don't handle lalt separately
This commit is contained in:
parent
98df2f25eb
commit
d23bd12c03
|
@ -2613,7 +2613,7 @@ void CMenus::RenderBackground()
|
|||
bool CMenus::CheckHotKey(int Key) const
|
||||
{
|
||||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue