fix stuck keys after turning off monkey input

This commit is contained in:
Chris Danford
2005-05-17 18:14:43 +00:00
parent 647d194847
commit 6392984072
@@ -60,7 +60,11 @@ int GetRandomKeyboadKey()
void InputHandler_MonkeyKeyboard::Update(float fDeltaTime)
{
if( !PREFSMAN->m_bMonkeyInput )
{
// End the previous key
ButtonPressed(m_diLast, false);
return;
}
float fSecsAgo = m_timerPressButton.Ago();