allow IdleTimeoutSeconds in CoinMode_Pay (remove special case)

This commit is contained in:
Chris Danford
2008-06-21 06:44:39 +00:00
parent 969abd5293
commit c7e2b57b5f
+1 -5
View File
@@ -83,10 +83,7 @@ void ScreenSelect::Update( float fDelta )
SOUND->PlayOnceFromAnnouncer( m_sName+" IdleComment" ); SOUND->PlayOnceFromAnnouncer( m_sName+" IdleComment" );
m_timerIdleComment.GetDeltaTime(); m_timerIdleComment.GetDeltaTime();
} }
// don't time out on this screen is coin mode is pay.
// If we're here, then there's a credit in the machine.
if( GAMESTATE->GetCoinMode() != CoinMode_Pay )
{
if( IDLE_TIMEOUT_SECONDS > 0 && m_timerIdleTimeout.PeekDeltaTime() >= IDLE_TIMEOUT_SECONDS ) if( IDLE_TIMEOUT_SECONDS > 0 && m_timerIdleTimeout.PeekDeltaTime() >= IDLE_TIMEOUT_SECONDS )
{ {
SCREENMAN->SetNewScreen( IDLE_TIMEOUT_SCREEN ); SCREENMAN->SetNewScreen( IDLE_TIMEOUT_SCREEN );
@@ -94,7 +91,6 @@ void ScreenSelect::Update( float fDelta )
return; return;
} }
} }
}
ScreenWithMenuElements::Update( fDelta ); ScreenWithMenuElements::Update( fDelta );
} }