simplify: on summary eval, m_CurStageStats is the summary
This commit is contained in:
@@ -208,18 +208,10 @@ void ScreenEvaluation::Init()
|
|||||||
//
|
//
|
||||||
STATSMAN->CalcAccumStageStats();
|
STATSMAN->CalcAccumStageStats();
|
||||||
|
|
||||||
switch( m_Type )
|
if( m_Type == summary )
|
||||||
{
|
STATSMAN->GetFinalEvalStageStats( STATSMAN->m_CurStageStats );
|
||||||
case summary:
|
|
||||||
STATSMAN->GetFinalEvalStageStats( m_StageStats );
|
|
||||||
break;
|
|
||||||
case stage:
|
|
||||||
case course:
|
|
||||||
m_StageStats = STATSMAN->m_CurStageStats;
|
m_StageStats = STATSMAN->m_CurStageStats;
|
||||||
break;
|
|
||||||
default:
|
|
||||||
ASSERT(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
LOG->Trace( "total error: %i, %i", m_StageStats.m_player[PLAYER_1].iTotalError, m_StageStats.m_player[PLAYER_2].iTotalError );
|
LOG->Trace( "total error: %i, %i", m_StageStats.m_player[PLAYER_1].iTotalError, m_StageStats.m_player[PLAYER_2].iTotalError );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user