From a061078f1dfd161fef5e7a840ed1366f64d0c608 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 11 Sep 2003 03:35:05 +0000 Subject: [PATCH] Fix Caprice. --- stepmania/src/Course.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Course.cpp b/stepmania/src/Course.cpp index 3ea496e22f..11ae1667ce 100644 --- a/stepmania/src/Course.cpp +++ b/stepmania/src/Course.cpp @@ -268,7 +268,10 @@ void Course::LoadFromCRSFile( CString sPath ) for( int j = (int) mods.size()-1; j >= 0 ; --j ) { if( !mods[j].CompareNoCase("showcourse") ) + { + LOG->Trace("XXXXXXXXXXXXXX %s", m_sPath.c_str()); new_entry.mystery = false; + } else if( !mods[j].CompareNoCase("noshowcourse") ) new_entry.mystery = true; else @@ -514,7 +517,7 @@ void Course::GetCourseInfo( StepsType nt, vector &ci, int Difficul for( unsigned i=0; i &ci, int Difficul else pNotes = pSong->GetStepsByDifficulty( nt, DIFFICULTY_MEDIUM, PREFSMAN->m_bAutogenMissingTypes ); } - e.mystery = false; break; case COURSE_ENTRY_RANDOM: case COURSE_ENTRY_RANDOM_WITHIN_GROUP: @@ -567,7 +569,6 @@ void Course::GetCourseInfo( StepsType nt, vector &ci, int Difficul pNotes = NULL; } } - e.mystery = true; break; case COURSE_ENTRY_BEST: case COURSE_ENTRY_WORST: @@ -601,7 +602,6 @@ void Course::GetCourseInfo( StepsType nt, vector &ci, int Difficul if( pNotes == NULL ) pNotes = pSong->GetClosestNotes( nt, DIFFICULTY_MEDIUM ); } - e.mystery = false; break; default: ASSERT(0);