support m_fLockInputSecs

This commit is contained in:
Glenn Maynard
2006-06-27 23:18:22 +00:00
parent d49c0ca0b7
commit f4a048324e
+4
View File
@@ -323,6 +323,8 @@ void ScreenWithMenuElementsSimple::MenuStart( PlayerNumber pn )
{ {
if( IsTransitioning() ) if( IsTransitioning() )
return; return;
if( m_fLockInputSecs > 0 )
return;
StartTransitioningScreen( SM_GoToNextScreen ); StartTransitioningScreen( SM_GoToNextScreen );
} }
@@ -331,6 +333,8 @@ void ScreenWithMenuElementsSimple::MenuBack( PlayerNumber pn )
{ {
if( IsTransitioning() ) if( IsTransitioning() )
return; return;
if( m_fLockInputSecs > 0 )
return;
StartTransitioningScreen( SM_GoToPrevScreen ); StartTransitioningScreen( SM_GoToPrevScreen );
} }