From 47ba3b1868a3d7556b6e677d43b9bfb2a98c648d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 8 Jun 2007 19:26:17 +0000 Subject: [PATCH] fix assert --- stepmania/src/MusicWheelItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/MusicWheelItem.cpp b/stepmania/src/MusicWheelItem.cpp index f7ff250e00..cb0ab70816 100644 --- a/stepmania/src/MusicWheelItem.cpp +++ b/stepmania/src/MusicWheelItem.cpp @@ -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 ) {