fix this GetNotes overload; the edit menu was ending up using

a different one and getting mixed up
This commit is contained in:
Glenn Maynard
2003-02-17 00:14:48 +00:00
parent 8e3a14f516
commit 8ec601a078
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -642,10 +642,10 @@ void Song::GetNotes( vector<Notes*>& arrayAddTo, NotesType nt, Difficulty dc, in
arrayAddTo.push_back( m_apNotes[i] );
}
Notes* Song::GetNotes( NotesType nt, Difficulty dc ) const
Notes* Song::GetNotes( NotesType nt, Difficulty dc, bool bIncludeAutoGen ) const
{
vector<Notes*> vNotes;
GetNotes( vNotes, nt, dc );
GetNotes( vNotes, nt, dc, -1, -1, "", bIncludeAutoGen );
if( vNotes.size() == 0 )
return NULL;
else
+1 -1
View File
@@ -206,7 +206,7 @@ public:
bool SongHasNotesType( NotesType nt ) const;
bool SongHasNotesTypeAndDifficulty( NotesType nt, Difficulty dc ) const;
void GetNotes( vector<Notes*>& arrayAddTo, NotesType nt, Difficulty dc = DIFFICULTY_INVALID, int iMeterLow = -1, int iMeterHigh = -1, CString sDescription = "", bool bIncludeAutoGen = true ) const;
Notes* GetNotes( NotesType nt, Difficulty dc ) const;
Notes* GetNotes( NotesType nt, Difficulty dc, bool bIncludeAutoGen = true ) const;
Notes* GetNotes( NotesType nt, int iMeterLow, int iMeterHigh ) const;
Notes* GetNotes( NotesType nt, CString sDescription ) const;
Notes* GetClosestNotes( NotesType nt, Difficulty dc ) const;