From 3d44ac4f949dc500a9d6cd434720516133b5a464 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 31 Oct 2003 03:53:12 +0000 Subject: [PATCH] Full-combo fixes. --- stepmania/src/ScreenEvaluation.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenEvaluation.cpp b/stepmania/src/ScreenEvaluation.cpp index 755305c2e9..6c5a599d9b 100644 --- a/stepmania/src/ScreenEvaluation.cpp +++ b/stepmania/src/ScreenEvaluation.cpp @@ -717,6 +717,8 @@ ScreenEvaluation::ScreenEvaluation( CString sClassName ) : Screen(sClassName) if( SHOW_FULL_COMBO && stageStats.FullCombo( (PlayerNumber) p ) ) { m_FullCombo[p].Load( THEME->GetPathToG(ssprintf("ScreenEvaluation full combo P%i",p+1)) ); + m_FullCombo[p]->SetName( ssprintf("FullComboP%d",p+1) ); + UtilSetXYAndOnCommand( m_FullCombo[p], "ScreenEvaluation" ); this->AddChild( m_FullCombo[p] ); } } @@ -943,7 +945,8 @@ void ScreenEvaluation::TweenOffScreen() continue; UtilOffCommand( m_sprMachineRecord[p], "ScreenEvaluation" ); UtilOffCommand( m_sprPersonalRecord[p], "ScreenEvaluation" ); - UtilOffCommand( m_FullCombo[p], "ScreenEvaluation" ); + if( m_FullCombo[p].IsLoaded() ) + UtilOffCommand( m_FullCombo[p], "ScreenEvaluation" ); } UtilOffCommand( m_sprTryExtraStage, "ScreenEvaluation" ); }