handle course selectable flag like songs

This commit is contained in:
Glenn Maynard
2007-08-27 09:34:31 +00:00
parent 4acaeab1b9
commit a2c65170a5
+1 -1
View File
@@ -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 );
}
}