Skip to content

Commit 271a4be

Browse files
author
Sam Feeney
committed
actually ignore the highscore preferences when saving scores
1 parent a154851 commit 271a4be

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/HighScore.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,16 @@ void HighScoreList::RemoveAllButOneOfEachName()
524524
}
525525
}
526526

527+
/* commented out functionality instead of obliterating in
528+
case some of you for whatever reason want to reenable this
529+
- Mina */
527530
void HighScoreList::ClampSize( bool bIsMachine )
528531
{
529532
const int iMaxScores = bIsMachine ?
530533
PREFSMAN->m_iMaxHighScoresPerListForMachine :
531534
PREFSMAN->m_iMaxHighScoresPerListForPlayer;
532-
if( vHighScores.size() > unsigned(iMaxScores) )
533-
vHighScores.erase( vHighScores.begin()+iMaxScores, vHighScores.end() );
535+
//if( vHighScores.size() > unsigned(iMaxScores) )
536+
// vHighScores.erase( vHighScores.begin()+iMaxScores, vHighScores.end() );
534537
}
535538

536539
void HighScoreList::MergeFromOtherHSL(HighScoreList& other, bool is_machine)

0 commit comments

Comments
 (0)