From b0651469e95ec7f097f6b71fa2ab3ce1d139223f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 28 Feb 2005 08:43:49 +0000 Subject: [PATCH] don't bother with hidden elements --- stepmania/src/ScreenGameplay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 5a239fbed5..020300d6fc 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -1289,7 +1289,7 @@ void ScreenGameplay::Update( float fDeltaTime ) if( SCREENMAN->GetTopScreen() != this ) return; - if( GAMESTATE->m_MasterPlayerNumber != PLAYER_INVALID ) + if( GAMESTATE->m_MasterPlayerNumber != PLAYER_INVALID && !m_MaxCombo.GetHidden() ) m_MaxCombo.SetText( ssprintf("%d", STATSMAN->m_CurStageStats.m_player[GAMESTATE->m_MasterPlayerNumber].iMaxCombo) ); /* MAKE THIS WORK FOR BOTH PLAYERS! */ //LOG->Trace( "m_fOffsetInBeats = %f, m_fBeatsPerSecond = %f, m_Music.GetPositionSeconds = %f", m_fOffsetInBeats, m_fBeatsPerSecond, m_Music.GetPositionSeconds() ); @@ -1521,7 +1521,7 @@ void ScreenGameplay::Update( float fDeltaTime ) // // update bpm display // - if ( m_fLastBPS != GAMESTATE->m_fCurBPS ) + if( m_fLastBPS != GAMESTATE->m_fCurBPS && !m_BPMDisplay.GetHidden() ) { m_fLastBPS = GAMESTATE->m_fCurBPS; m_BPMDisplay.SetBPM( GAMESTATE->m_fCurBPS * 60.0f );