fix this GetNotes overload; the edit menu was ending up using
a different one and getting mixed up
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user