fix assert on ABC sections

This commit is contained in:
Glenn Maynard
2005-07-07 10:07:58 +00:00
parent 3498bf29cc
commit b282ba475d
2 changed files with 1 additions and 4 deletions
+1 -3
View File
@@ -1556,9 +1556,7 @@ void ScreenSelectMusic::AfterMusicChange()
switch( m_MusicWheel.GetSelectedType() )
{
case TYPE_SECTION:
// Ugly:
if( sGroup != "- EMPTY -" )
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup );
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup );
m_sSampleMusicToPlay = m_sSectionMusicPath;
break;
case TYPE_SORT:
-1
View File
@@ -323,7 +323,6 @@ CString SongManager::GetSongGroupBannerPath( CString sSongGroup )
return m_sSongGroupBannerPaths[i];
}
ASSERT_M( 0, ssprintf("requested banner for song group '%s' that doesn't exist",sSongGroup.c_str()) );
return "";
}