fix crash with no music

This commit is contained in:
Glenn Maynard
2003-05-28 03:32:07 +00:00
parent 4d182f85a4
commit 2d9aeb4701
+3
View File
@@ -33,6 +33,9 @@ void LyricDisplay::Update( float fDeltaTime )
{
ActorFrame::Update( fDeltaTime );
if( GAMESTATE->m_pCurSong == NULL )
return;
/* If the song has changed (in a course), reset. */
if( GAMESTATE->m_fMusicSeconds < m_fLastSecond )
Init();