mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
fixed last commit
This commit is contained in:
parent
994005de8e
commit
f846afd697
|
@ -316,6 +316,8 @@ void CGameClient::OnUpdate()
|
||||||
for(int i = 0; i < Input()->NumEvents(); i++)
|
for(int i = 0; i < Input()->NumEvents(); i++)
|
||||||
{
|
{
|
||||||
IInput::CEvent e = Input()->GetEvent(i);
|
IInput::CEvent e = Input()->GetEvent(i);
|
||||||
|
if(!Input()->IsEventValid(&e))
|
||||||
|
continue;
|
||||||
|
|
||||||
for(int h = 0; h < m_Input.m_Num; h++)
|
for(int h = 0; h < m_Input.m_Num; h++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue