don't save high score when score = 0 (e.g. autoplay)

This commit is contained in:
Andrew Wong
2003-09-01 00:36:26 +00:00
parent 8f920347d6
commit 9508282670
+1 -1
View File
@@ -312,7 +312,7 @@ void Steps::AddScore( PlayerNumber pn, Grade grade, int iScore, bool& bNewRecord
m_MemCardScores[MEMORY_CARD_MACHINE].iNumTimesPlayed++;
m_MemCardScores[pn].iNumTimesPlayed++;
if( m_MemCardScores[pn].HigherScore(iScore, grade) )
if( m_MemCardScores[pn].HigherScore(iScore, grade) && iScore > 0)
{
m_MemCardScores[pn].iScore = iScore;
m_MemCardScores[pn].grade = grade;