NUM_NOTES_TYPES => NUM_STEPS_TYPES

This commit is contained in:
Chris Danford
2003-08-07 06:38:18 +00:00
parent 1a0d83cbc0
commit 879fa6c37c
8 changed files with 21 additions and 21 deletions
+2 -2
View File
@@ -1001,7 +1001,7 @@ void Song::SaveToDWIFile()
void Song::AddAutoGenNotes()
{
for( StepsType ntMissing=(StepsType)0; ntMissing<NUM_NOTES_TYPES; ntMissing=(StepsType)(ntMissing+1) )
for( StepsType ntMissing=(StepsType)0; ntMissing<NUM_STEPS_TYPES; ntMissing=(StepsType)(ntMissing+1) )
{
if( SongHasNotesType(ntMissing) )
continue;
@@ -1014,7 +1014,7 @@ void Song::AddAutoGenNotes()
StepsType ntBestMatch = (StepsType)-1;
int iBestTrackDifference = 10000; // inf
for( StepsType nt=(StepsType)0; nt<NUM_NOTES_TYPES; nt=(StepsType)(nt+1) )
for( StepsType nt=(StepsType)0; nt<NUM_STEPS_TYPES; nt=(StepsType)(nt+1) )
{
vector<Steps*> apNotes;
this->GetNotes( apNotes, nt );