use SongID

This commit is contained in:
Glenn Maynard
2007-08-15 20:56:44 +00:00
parent 3509dfee03
commit 7729701678
6 changed files with 34 additions and 30 deletions
+2 -2
View File
@@ -1378,8 +1378,8 @@ void SongManager::UpdatePreferredSort()
FOREACH( UnlockEntry, UNLOCKMAN->m_UnlockEntries, ue )
{
if( ue->m_Type == UnlockRewardType_Song )
if( ue->m_pSong )
vpUnlockSongs.push_back( ue->m_pSong );
if( ue->m_Song.ToSong() )
vpUnlockSongs.push_back( ue->m_Song.ToSong() );
}
FOREACH( SongPointerVector, m_vPreferredSongSort, v )