From 2b6e2eb9e9716583ca92cad0dc0d2b9f972d8a87 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 13 Oct 2003 04:43:36 +0000 Subject: [PATCH] Don't show points for inactive players. --- stepmania/src/ScreenEvaluation.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index bcb2aa1756..a89a83d4ba 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -405,6 +405,9 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName ) : Screen(sClassName) { for( p=0; pIsPlayerEnabled( (PlayerNumber)p ) ) + continue; // skip + m_sprPercentFrame[p].SetName( ssprintf("PercentFrameP%d",p+1) ); m_sprPercentFrame[p].Load( THEME->GetPathToG(ssprintf("ScreenEvaluation percent frame p%d",p+1)) ); UtilSetXYAndOnCommand( m_sprPercentFrame[p], "ScreenEvaluation" ); @@ -737,6 +740,9 @@ void ScreenEvaluation::TweenOffScreen() { for( p=0; pIsPlayerEnabled( (PlayerNumber)p ) ) + continue; // skip + UtilOffCommand( m_sprPercentFrame[p], "ScreenEvaluation" ); m_Percent[p].Command( THEME->GetMetric("ScreenEvaluation",ssprintf("PercentP%dOffCommand",p+1)) ); m_Percent[p].TweenOffScreen();