diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 05e7bcb28..ac6d0b2ce 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -324,7 +324,7 @@ int CInput::Update() return 1; } - if(Scancode >= 0 && Scancode < g_MaxKeys && !IgnoreKeys && m_CountEditingText == 0) + if(Scancode > KEY_FIRST && Scancode < g_MaxKeys && !IgnoreKeys && m_CountEditingText == 0) { if(Action&IInput::FLAG_PRESS) {