From 2975d6998dd661d41e939530a80b3ee657145234 Mon Sep 17 00:00:00 2001 From: Learath Date: Sun, 28 Apr 2019 20:30:17 +0300 Subject: [PATCH] Block ctrl+shift+ binds. Fixes #1490 --- src/game/client/components/binds.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/client/components/binds.cpp b/src/game/client/components/binds.cpp index 262e6af97..21378ea5d 100644 --- a/src/game/client/components/binds.cpp +++ b/src/game/client/components/binds.cpp @@ -133,6 +133,10 @@ bool CBinds::OnInput(IInput::CEvent e) if(!Mask) Mask = 1 << MODIFIER_NONE; + if(Mask == ((1 << MODIFIER_CTRL) | (1 << MODIFIER_SHIFT))) + return true; + + bool ret = false; for(int Mod = 0; Mod < MODIFIER_COUNT; Mod++) {