This commit is contained in:
Glenn Maynard
2006-08-17 02:04:08 +00:00
parent 0f8a4a041c
commit df6babfe9d
+1 -2
View File
@@ -991,7 +991,6 @@ void ScreenSelectMusic::AfterMusicChange()
case TYPE_SECTION: case TYPE_SECTION:
case TYPE_SORT: case TYPE_SORT:
{ {
RString sGroup = m_MusicWheel.GetSelectedSection();
FOREACH_PlayerNumber( p ) FOREACH_PlayerNumber( p )
m_iSelection[p] = -1; m_iSelection[p] = -1;
@@ -1007,7 +1006,7 @@ void ScreenSelectMusic::AfterMusicChange()
switch( m_MusicWheel.GetSelectedType() ) switch( m_MusicWheel.GetSelectedType() )
{ {
case TYPE_SECTION: case TYPE_SECTION:
g_sBannerPath = SONGMAN->GetSongGroupBannerPath( sGroup ); g_sBannerPath = SONGMAN->GetSongGroupBannerPath( m_MusicWheel.GetSelectedSection() );
m_sSampleMusicToPlay = m_sSectionMusicPath; m_sSampleMusicToPlay = m_sSectionMusicPath;
break; break;
case TYPE_SORT: case TYPE_SORT: