fix assert on ABC sections
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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 "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user