fixed last commit

This commit is contained in:
oy 2015-11-24 17:09:35 +01:00
parent 994005de8e
commit f846afd697

View file

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