fix assert when no songs

This commit is contained in:
Glenn Maynard
2005-07-04 22:31:18 +00:00
parent 7ecccfeac0
commit 744329f9e9
+3 -1
View File
@@ -1583,7 +1583,9 @@ void ScreenSelectMusic::AfterMusicChange()
switch( m_MusicWheel.GetSelectedType() )
{
case TYPE_SECTION:
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup );
// Ugly:
if( sGroup != "- EMPTY -" )
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup );
m_sSampleMusicToPlay = m_sSectionMusicPath;
break;
case TYPE_SORT: