This should be checking if the player is enabled, not if the font is not null.

This commit is contained in:
Steve Checkoway
2007-08-18 02:08:37 +00:00
parent c97f8980a4
commit af0211c6a9
+1 -1
View File
@@ -193,7 +193,7 @@ void ScreenNetEvaluation::UpdateStats()
for( int j=0; j<NETNUMTAPSCORES; ++j )
{
int iNumDigits = (j==JudgeLine_MaxCombo)? MAX_COMBO_NUM_DIGITS:4;
if( m_textJudgeNumbers[j][m_pActivePlayer].m_pFont != NULL )
if( GAMESTATE->IsPlayerEnabled(m_pActivePlayer) ) // XXX: Why would this not be the case? -- Steve
m_textJudgeNumbers[j][m_pActivePlayer].SetText( ssprintf("%*d", iNumDigits, NSMAN->m_EvalPlayerData[m_iCurrentPlayer].tapScores[j]) );
}