Moving mouse is not a key

This commit is contained in:
def 2017-07-22 12:28:06 +02:00
parent 7428dd0637
commit 6e5375da71

View file

@ -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)
{