Don't special case IsEditing. If you don't want a menu timer on a screen,

set TimerSeconds=-1.
This commit is contained in:
Glenn Maynard
2006-11-21 20:14:25 +00:00
parent 737436885d
commit d14277274e
+1 -1
View File
@@ -236,7 +236,7 @@ void ScreenWithMenuElements::ResetTimer()
if( m_MenuTimer == NULL ) if( m_MenuTimer == NULL )
return; return;
if( TIMER_SECONDS > 0.0f && (PREFSMAN->m_bMenuTimer || FORCE_TIMER) && !GAMESTATE->IsEditing() ) if( TIMER_SECONDS > 0.0f && (PREFSMAN->m_bMenuTimer || FORCE_TIMER) )
{ {
m_MenuTimer->SetSeconds( TIMER_SECONDS ); m_MenuTimer->SetSeconds( TIMER_SECONDS );
m_MenuTimer->Start(); m_MenuTimer->Start();