Fixed error that would not show the proper BPM in ScreenSelectMusic, if you changed your selection from a Group to a song.

This commit is contained in:
Kevin Slaughter
2003-05-12 11:17:09 +00:00
parent a1548818b9
commit b025a29640
+8 -2
View File
@@ -104,8 +104,14 @@ void BPMDisplay::Update( float fDeltaTime )
case counting_up: case counting_up:
case holding_up: case holding_up:
case holding_down: case holding_down:
if( (int)m_fCurrentBPM != iLastCurBPM ) //if( (int)m_fCurrentBPM != iLastCurBPM )
m_textBPM.SetText( ssprintf("%03.0f", m_fCurrentBPM) ); // 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; break;
} }
} }