From ea528c863c5c2deb631be351b2d124aebd58d04c Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 Dec 2002 03:57:33 +0000 Subject: [PATCH] fix sample music occasionally not starting --- stepmania/src/ScreenSelectMusic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenSelectMusic.cpp b/stepmania/src/ScreenSelectMusic.cpp index eee8c6021e..51a7ab3e13 100644 --- a/stepmania/src/ScreenSelectMusic.cpp +++ b/stepmania/src/ScreenSelectMusic.cpp @@ -383,7 +383,7 @@ void ScreenSelectMusic::Update( float fDeltaTime ) if( m_fPlaySampleCountdown > 0 ) { m_fPlaySampleCountdown -= fDeltaTime; - if( m_fPlaySampleCountdown < 0 ) + if( m_fPlaySampleCountdown <= 0 ) this->PlayMusicSample(); }