do save failed scores to player profiles; this remembers that the

song has been played and allows tracking performance on songs
that the player can't pass yet
This commit is contained in:
Glenn Maynard
2007-06-08 06:53:31 +00:00
parent fe69cba5ad
commit 79497a59ec
2 changed files with 3 additions and 5 deletions
+3 -1
View File
@@ -654,7 +654,9 @@ void ProfileManager::AddStepsScore( const Song* pSong, const Steps* pSteps, Play
if( IsPersistentProfile(pn) )
GetProfile(pn)->AddStepsHighScore( pSong, pSteps, hs, iPersonalIndexOut );
if( hs.GetPercentDP() >= PREFSMAN->m_fMinPercentageForMachineSongHighScore )
// don't save machine scores for a failed song
if( hs.GetPercentDP() >= PREFSMAN->m_fMinPercentageForMachineSongHighScore &&
hs.GetGrade() != Grade_Failed )
{
// don't leave machine high scores for edits loaded from the player's card
if( !pSteps->IsAPlayerEdit() )