fix saving of machine scores for machine edits

This commit is contained in:
Chris Danford
2005-06-15 09:25:33 +00:00
parent cfa50fd225
commit 39b631da51
3 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -500,8 +500,8 @@ void ProfileManager::AddStepsScore( const Song* pSong, const Steps* pSteps, Play
if( PROFILEMAN->IsPersistentProfile(pn) )
PROFILEMAN->GetProfile(pn)->AddStepsHighScore( pSong, pSteps, hs, iPersonalIndexOut );
// don't leave machine high scores for edits
if( pSteps->GetDifficulty() != DIFFICULTY_EDIT )
// don't leave machine high scores for edits loaded from the player's card
if( !pSteps->IsAPlayerEdit() )
PROFILEMAN->GetMachineProfile()->AddStepsHighScore( pSong, pSteps, hs, iMachineIndexOut );
}