From 2f54be53cb51707698d61f705c32fcce27e5bf13 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 18 Feb 2011 14:10:56 -0600 Subject: [PATCH] comment changes and such --- src/ScreenNetEvaluation.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/ScreenNetEvaluation.cpp b/src/ScreenNetEvaluation.cpp index ce321ec1ad..247d4b79c4 100644 --- a/src/ScreenNetEvaluation.cpp +++ b/src/ScreenNetEvaluation.cpp @@ -133,9 +133,9 @@ void ScreenNetEvaluation::HandleScreenMessage( const ScreenMessage SM ) LOG->Trace( "SMNETCheckpoint" ); for( int i=0; i= NSMAN->m_EvalPlayerData.size() ) break; @@ -152,16 +152,14 @@ void ScreenNetEvaluation::HandleScreenMessage( const ScreenMessage SM ) // Yes, hardcoded (I'd like to leave it that way) -CNLohr (in reference to Grade_Tier03) // Themes can read this differently. The correct solution depends... - // TODO: make this a server-side variable, or just find out - // the data from the theme? If we find out from the theme, people - // will be using different themes so it means nothing. -aj + // TODO: make this a server-side variable. -aj if( NSMAN->m_EvalPlayerData[i].grade < Grade_Tier03 ) m_textUsers[i].PlayCommand("Tier02OrBetter"); ON_COMMAND( m_textUsers[i] ); LOG->Trace( "SMNETCheckpoint%d", i ); } - return; //no need to let ScreenEvaluation get ahold of this. + return; // No need to let ScreenEvaluation get a hold of this. } else if( SM == SM_GoToNextScreen ) { @@ -190,7 +188,7 @@ void ScreenNetEvaluation::UpdateStats() if( THEME->GetMetricB(m_sName,"ShowScoreArea") ) m_textScore[m_pActivePlayer].SetTargetNumber( NSMAN->m_EvalPlayerData[m_iCurrentPlayer].score ); - //Values greater than 6 will cause a crash/* + //Values greater than 6 will cause a crash if( NSMAN->m_EvalPlayerData[m_iCurrentPlayer].difficulty < 6 ) { m_DifficultyIcon[m_pActivePlayer].SetPlayer( m_pActivePlayer );