Don't lock left/right input. It's annoying to have to wait for the tween

to completely finish before being able to do anything.

In theory, you could get to the second screen before it finishes tweening
in, but it's next to impossible to do this normally, and harmless if it actually
happens (try it while holding `).
This commit is contained in:
Glenn Maynard
2003-04-16 02:22:24 +00:00
parent 1911fe989e
commit da5e1c6d00
+4 -4
View File
@@ -183,8 +183,8 @@ void ScreenSelectDifficulty::UpdateSelectableChoices()
void ScreenSelectDifficulty::MenuLeft( PlayerNumber pn )
{
if( m_fLockInputTime > 0 )
return;
// if( m_fLockInputTime > 0 )
// return;
if( m_bChosen[pn] )
return;
if( m_iChoiceOnPage[pn] == 0 ) // can't go left any more
@@ -199,8 +199,8 @@ void ScreenSelectDifficulty::MenuLeft( PlayerNumber pn )
void ScreenSelectDifficulty::MenuRight( PlayerNumber pn )
{
if( m_fLockInputTime > 0 )
return;
// if( m_fLockInputTime > 0 )
// return;
if( m_bChosen[pn] )
return;
if( m_iChoiceOnPage[pn] == (int)m_ModeChoices[m_CurrentPage].size()-1 ) // can't go left any more