throw away inputs that queued while the screen was loading

This commit is contained in:
Chris Danford
2005-03-16 23:26:19 +00:00
parent 90f2aeaa1a
commit 9b2b8e73a8
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -260,6 +260,9 @@ void ScreenSelectMaster::Init()
TweenOnScreen();
m_fLockInputSecs = (bool)OVERRIDE_LOCK_INPUT_SECONDS ? LOCK_INPUT_SECONDS : this->GetTweenTimeLeft();
if( m_fLockInputSecs == 0 )
m_fLockInputSecs = 0.0001f; // always lock for a tiny amount of time so that we throw away any queued inputs during the load.
}
void ScreenSelectMaster::Update( float fDelta )