fix course matching

This commit is contained in:
Glenn Maynard
2003-02-04 21:11:20 +00:00
parent ff8fa7eb29
commit 738225ee4c
+3 -3
View File
@@ -29,7 +29,7 @@ Course::Course()
m_bRandomize = false; m_bRandomize = false;
m_iLives = -1; m_iLives = -1;
m_iExtra = 0; m_iExtra = 0;
m_iNumTimesPlayed = 0;
// //
// Init high scores // Init high scores
@@ -219,8 +219,8 @@ Notes* Course::GetNotesForStage( int iStage )
if( !GAMESTATE->GetCurrentStyleDef()->MatchesNotesType(pNotes->m_NotesType) ) if( !GAMESTATE->GetCurrentStyleDef()->MatchesNotesType(pNotes->m_NotesType) )
continue; continue;
if( pNotes->GetDescription().CompareNoCase(sDescription) || if( !pNotes->GetDescription().CompareNoCase(sDescription) ||
DifficultyToString(pNotes->GetDifficulty()).CompareNoCase(sDescription) ) !DifficultyToString(pNotes->GetDifficulty()).CompareNoCase(sDescription) )
return pNotes; return pNotes;
} }