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
-2
View File
@@ -1556,8 +1556,6 @@ void ScreenSelectMusic::AfterMusicChange()
switch( m_MusicWheel.GetSelectedType() ) switch( m_MusicWheel.GetSelectedType() )
{ {
case TYPE_SECTION: case TYPE_SECTION:
// Ugly:
if( sGroup != "- EMPTY -" )
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup ); g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup );
m_sSampleMusicToPlay = m_sSectionMusicPath; m_sSampleMusicToPlay = m_sSectionMusicPath;
break; break;
-1
View File
@@ -323,7 +323,6 @@ CString SongManager::GetSongGroupBannerPath( CString sSongGroup )
return m_sSongGroupBannerPaths[i]; return m_sSongGroupBannerPaths[i];
} }
ASSERT_M( 0, ssprintf("requested banner for song group '%s' that doesn't exist",sSongGroup.c_str()) );
return ""; return "";
} }