From a2c65170a5899de91585acaeab15df8ce46833e0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 27 Aug 2007 09:34:31 +0000 Subject: [PATCH] handle course selectable flag like songs --- stepmania/src/SongManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 476cf6678b..a5247e2f34 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -1437,7 +1437,7 @@ void SongManager::UpdatePreferredSort() Course *pCourse = NULL; if( !sLine.empty() ) pCourse = FindCourse( sLine ); - if( pCourse ) + if( pCourse && !(UNLOCKMAN->CourseIsLocked(pCourse) & LOCKED_SELECTABLE) ) vpCourses.push_back( pCourse ); } }