remove debugging
This commit is contained in:
@@ -115,19 +115,17 @@ void HighScoreList::AddHighScore( HighScore hs, int &iIndexOut )
|
||||
vHighScores.erase( vHighScores.begin()+iMaxScores, vHighScores.end() );
|
||||
}
|
||||
}
|
||||
#include "RageLog.h"
|
||||
|
||||
const HighScore& HighScoreList::GetTopScore() const
|
||||
{
|
||||
if( vHighScores.empty() )
|
||||
{
|
||||
LOG->Trace("empty");
|
||||
static HighScore hs;
|
||||
hs = HighScore();
|
||||
return hs;
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG->Trace("not empty");
|
||||
return vHighScores[0];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user