This commit is contained in:
Glenn Maynard
2005-09-11 01:10:48 +00:00
parent d66d27ac70
commit 74c9d0058a
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -249,7 +249,7 @@ void ScreenEvaluation::Init()
//
// update persistent statistics
//
StageResults::CommitScores( m_StageStats, m_StageResults, m_Type == summary );
StageResults::CommitScores( m_StageResults, m_Type == summary );
FOREACH_HumanPlayer( p )
m_StageStats.m_player[p].CalcAwards( p );
@@ -763,10 +763,11 @@ void ScreenEvaluation::Init()
void StageResults::CommitScores(
const StageStats &m_StageStats,
StageResults out[NUM_PLAYERS],
bool bSummary )
{
const StageStats &m_StageStats = STATSMAN->m_CurStageStats;
FOREACH_PlayerNumber( pn )
{
out[pn].Init();
+1 -1
View File
@@ -27,7 +27,7 @@ public:
HighScore m_HighScore;
Grade m_Grade;
static void CommitScores( const StageStats &stageStats, StageResults out[NUM_PLAYERS], bool bSummary );
static void CommitScores( StageResults out[NUM_PLAYERS], bool bSummary );
};
const int MAX_SONGS_TO_SHOW = 5; // In summary, we show last 3 stages, plus extra stages if passed