fix assert

This commit is contained in:
Glenn Maynard
2007-06-08 19:26:17 +00:00
parent 18bf730503
commit 47ba3b1868
+1 -1
View File
@@ -308,7 +308,7 @@ void MusicWheelItem::RefreshGrades()
Profile *pProfile = PROFILEMAN->GetProfile(ps);
HighScoreList *pHSL = NULL;
if( PROFILEMAN->IsPersistentProfile(ps) )
if( PROFILEMAN->IsPersistentProfile(ps) && dc != Difficulty_Invalid )
{
if( data->m_pSong )
{