From c580a8af59b9223efb10c768f560af9c6efe7cec Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 27 Mar 2007 06:47:02 +0000 Subject: [PATCH] fix backwards (cosmetically) --- stepmania/src/Background.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index 5a292155fc..82a803c226 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -775,13 +775,13 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus m_pFadingBGA = NULL; } - /* This is affected by the music rate. */ - float fDeltaTimeMusicRate = max( fDeltaTime / fRate, 0 ); + /* This is unaffected by the music rate. */ + float fDeltaTimeNoMusicRate = max( fDeltaTime / fRate, 0 ); if( m_pCurrentBGA ) - m_pCurrentBGA->Update( fDeltaTimeMusicRate ); + m_pCurrentBGA->Update( fDeltaTimeNoMusicRate ); if( m_pFadingBGA ) - m_pFadingBGA->Update( fDeltaTimeMusicRate ); + m_pFadingBGA->Update( fDeltaTimeNoMusicRate ); } void BackgroundImpl::Update( float fDeltaTime )