From b025a29640a1a9bcbb775b29588046e7e56430d0 Mon Sep 17 00:00:00 2001 From: Kevin Slaughter Date: Mon, 12 May 2003 11:17:09 +0000 Subject: [PATCH] Fixed error that would not show the proper BPM in ScreenSelectMusic, if you changed your selection from a Group to a song. --- stepmania/src/BPMDisplay.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/stepmania/src/BPMDisplay.cpp b/stepmania/src/BPMDisplay.cpp index 5a19a02e1b..9b094d36d9 100644 --- a/stepmania/src/BPMDisplay.cpp +++ b/stepmania/src/BPMDisplay.cpp @@ -104,8 +104,14 @@ void BPMDisplay::Update( float fDeltaTime ) case counting_up: case holding_up: case holding_down: - if( (int)m_fCurrentBPM != iLastCurBPM ) - m_textBPM.SetText( ssprintf("%03.0f", m_fCurrentBPM) ); + //if( (int)m_fCurrentBPM != iLastCurBPM ) + // m_textBPM.SetText( ssprintf("%03.0f", m_fCurrentBPM) ); + + /* BUG FIXED:: Just set the BPM.. This was causing an error that would not change + the BPM to what it should be, if you changed the selection from a Group + to a song. There's no great reason to check if it is higher or lower + than the previous BPM -- Miryokuteki */ + m_textBPM.SetText( ssprintf("%03.0f", m_fCurrentBPM) ); break; } }