Use fallbcak notes; some fixes for it.

This commit is contained in:
Glenn Maynard
2002-09-10 04:59:53 +00:00
parent 5dbd96f447
commit a0dc7ec5bf
4 changed files with 32 additions and 11 deletions
+2 -2
View File
@@ -265,8 +265,8 @@ void SongSelector::OnNotesTypeChange()
m_textStyle.SetText( GAMEMAN->GetStyleDefForStyle(GetSelectedStyle())->m_szName );
m_pNotess.RemoveAll();
/* XXX. This will list fallback notes, which we don't want. */
GetSelectedSong()->GetNotesThatMatch( GAMEMAN->GetStyleDefForStyle(GetSelectedStyle()), 0, m_pNotess );
/* Only get primary notes in this style, not fallback notes. */
GetSelectedSong()->GetNotesThatMatch( GAMEMAN->GetStyleDefForStyle(GetSelectedStyle()), 0, m_pNotess, false );
SortNotesArrayByDifficulty( m_pNotess );
m_pNotess.Add( NULL ); // marker for "(NEW)"
m_iSelectedNotes = 0;