mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Block ctrl+shift+ binds. Fixes #1490
This commit is contained in:
parent
66c89eafb2
commit
2975d6998d
|
@ -133,6 +133,10 @@ bool CBinds::OnInput(IInput::CEvent e)
|
||||||
if(!Mask)
|
if(!Mask)
|
||||||
Mask = 1 << MODIFIER_NONE;
|
Mask = 1 << MODIFIER_NONE;
|
||||||
|
|
||||||
|
if(Mask == ((1 << MODIFIER_CTRL) | (1 << MODIFIER_SHIFT)))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
|
||||||
bool ret = false;
|
bool ret = false;
|
||||||
for(int Mod = 0; Mod < MODIFIER_COUNT; Mod++)
|
for(int Mod = 0; Mod < MODIFIER_COUNT; Mod++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue