fix crash in credits when there are too many songs

This commit is contained in:
Glenn Maynard
2002-10-02 22:31:44 +00:00
parent dba3a3dd8e
commit 081640a666
+1 -1
View File
@@ -150,7 +150,7 @@ ScreenMusicScroll::ScreenMusicScroll()
m_iNumLines = 0;
for( i=0; i<min(arraySongs.GetSize(), MAX_TOTAL_LINES); i++ )
for( i=0; i<min(arraySongs.GetSize(), MAX_MUSIC_LINES); i++ )
{
Song* pSong = arraySongs[i];
m_textLines[m_iNumLines].LoadFromFont( THEME->GetPathTo("Fonts","music scroll") );