add a comment

This commit is contained in:
Glenn Maynard
2003-02-28 08:43:14 +00:00
parent 403216ba44
commit 2be3ec534c
+1
View File
@@ -55,6 +55,7 @@ void BPMDisplay::Update( float fDeltaTime )
m_fTimeLeftInState -= fDeltaTime;
if( m_fTimeLeftInState < 0 )
{
// XXX: the numbers font doesn't have "?".
m_textBPM.SetText( (RandomFloat(0,1)>0.90) ? "???" : ssprintf("%03.0f",RandomFloat(0,600)) );
m_fTimeLeftInState = 0.2f; // reset timer
}