mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Moving mouse is not a key
This commit is contained in:
parent
7428dd0637
commit
6e5375da71
|
@ -324,7 +324,7 @@ int CInput::Update()
|
||||||
return 1;
|
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)
|
if(Action&IInput::FLAG_PRESS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue