This commit is contained in:
Glenn Maynard
2007-08-15 21:01:23 +00:00
parent 7729701678
commit 9aead72d03
4 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -1452,8 +1452,8 @@ void SongManager::UpdatePreferredSort()
FOREACH( UnlockEntry, UNLOCKMAN->m_UnlockEntries, ue )
{
if( ue->m_Type == UnlockRewardType_Course )
if( ue->m_pCourse )
vpUnlockCourses.push_back( ue->m_pCourse );
if( ue->m_Course.IsValid() )
vpUnlockCourses.push_back( ue->m_Course.ToCourse() );
}
FOREACH( CoursePointerVector, m_vPreferredCourseSort, v )