Fix transition glitch. (beginning of song could appear briefly while tweening out)

This commit is contained in:
Glenn Maynard
2003-10-03 06:05:10 +00:00
parent e67a8439df
commit 440899867c
-4
View File
@@ -1040,11 +1040,7 @@ void ScreenGameplay::Update( float fDeltaTime )
//
float fSecondsToStop = GAMESTATE->m_pCurSong->GetElapsedTimeFromBeat( GAMESTATE->m_pCurSong->m_fLastBeat ) + 1;
if( GAMESTATE->m_fMusicSeconds > fSecondsToStop && !m_NextSongOut.IsTransitioning() )
{
/* XXX: Why is this here? I think this is causing slight graphics glitches as the beat shifts. */
GAMESTATE->m_fSongBeat = 0;
this->PostScreenMessage( SM_NotesEnded, 0 );
}
//
// check for fail