handle course selectable flag like songs
This commit is contained in:
@@ -1437,7 +1437,7 @@ void SongManager::UpdatePreferredSort()
|
|||||||
Course *pCourse = NULL;
|
Course *pCourse = NULL;
|
||||||
if( !sLine.empty() )
|
if( !sLine.empty() )
|
||||||
pCourse = FindCourse( sLine );
|
pCourse = FindCourse( sLine );
|
||||||
if( pCourse )
|
if( pCourse && !(UNLOCKMAN->CourseIsLocked(pCourse) & LOCKED_SELECTABLE) )
|
||||||
vpCourses.push_back( pCourse );
|
vpCourses.push_back( pCourse );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user