Fix crash with AllowMultipleHighScoreWithSameName (#1963)
This commit is contained in:
+1
-1
@@ -405,7 +405,7 @@ void HighScoreList::LoadFromNode( const XNode* pHighScoreList )
|
||||
|
||||
void HighScoreList::RemoveAllButOneOfEachName()
|
||||
{
|
||||
for (vector<HighScore>::iterator i = vHighScores.begin(); i != vHighScores.end() - 1; ++i)
|
||||
for (vector<HighScore>::iterator i = vHighScores.begin(); i != vHighScores.end(); ++i)
|
||||
{
|
||||
for( vector<HighScore>::iterator j = i+1; j != vHighScores.end(); j++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user