rename: IsUsingProfile -> IsPersistentProfile
Don't require IsPersistentProfile in some places related to fitness mode where a non-persistent Profile will suffice
This commit is contained in:
@@ -195,7 +195,7 @@ void SongUtil::SortSongPointerArrayByGroupAndTitle( vector<Song*> &vpSongsInOut
|
||||
|
||||
void SongUtil::SortSongPointerArrayByNumPlays( vector<Song*> &vpSongsInOut, ProfileSlot slot, bool bDescending )
|
||||
{
|
||||
if( !PROFILEMAN->IsUsingProfile(slot) )
|
||||
if( !PROFILEMAN->IsPersistentProfile(slot) )
|
||||
return; // nothing to do since we don't have data
|
||||
Profile* pProfile = PROFILEMAN->GetProfile(slot);
|
||||
SortSongPointerArrayByNumPlays( vpSongsInOut, pProfile, bDescending );
|
||||
|
||||
Reference in New Issue
Block a user