simplify: no need to bind this to a screen type anymore

This commit is contained in:
Glenn Maynard
2004-07-13 00:02:26 +00:00
parent a2f965fb92
commit b95b5b9417
+1 -4
View File
@@ -1338,7 +1338,7 @@ void ScreenEvaluation::Update( float fDeltaTime )
Screen::Update( fDeltaTime );
m_bgCondBga.Update(fDeltaTime);
if( !m_bPassFailTriggered && (m_Type==stage || m_Type==course) )
if( !m_bPassFailTriggered )
{
float fTime = m_bFailed? FAILED_SOUND_TIME:PASSED_SOUND_TIME;
if( m_timerSoundSequences.Ago() > fTime )
@@ -1349,8 +1349,6 @@ void ScreenEvaluation::Update( float fDeltaTime )
}
}
// if(m_Type == stage) // stage eval ... pass / fail / whatever
// {
for( unsigned snd=0; snd<m_SoundSequences.size(); snd++ )
{
if(m_SoundSequences[snd].fTime != -1) // already played? skip...
@@ -1362,7 +1360,6 @@ void ScreenEvaluation::Update( float fDeltaTime )
}
}
}
// }
for( int p=0; p<NUM_PLAYERS; p++)
{