From 738225ee4c93150a853b5b28951597579fb958cf Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 4 Feb 2003 21:11:20 +0000 Subject: [PATCH] fix course matching --- stepmania/src/Course.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 2697f97417..2801ad7bf4 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -29,7 +29,7 @@ Course::Course() m_bRandomize = false; m_iLives = -1; m_iExtra = 0; - + m_iNumTimesPlayed = 0; // // Init high scores @@ -219,8 +219,8 @@ Notes* Course::GetNotesForStage( int iStage ) if( !GAMESTATE->GetCurrentStyleDef()->MatchesNotesType(pNotes->m_NotesType) ) continue; - if( pNotes->GetDescription().CompareNoCase(sDescription) || - DifficultyToString(pNotes->GetDifficulty()).CompareNoCase(sDescription) ) + if( !pNotes->GetDescription().CompareNoCase(sDescription) || + !DifficultyToString(pNotes->GetDifficulty()).CompareNoCase(sDescription) ) return pNotes; }