comment: fix incorrect comments
This commit is contained in:
+1
-1
@@ -729,7 +729,7 @@ void BackgroundImpl::Layer::UpdateCurBGChange( const Song *pSong, float fLastMus
|
|||||||
beat_info.elapsed_time= fCurrentTime;
|
beat_info.elapsed_time= fCurrentTime;
|
||||||
pSong->m_SongTiming.GetBeatAndBPSFromElapsedTime(beat_info);
|
pSong->m_SongTiming.GetBeatAndBPSFromElapsedTime(beat_info);
|
||||||
|
|
||||||
// Calls to Update() should *not* be scaled by music rate; fCurrentTime is. Undo it.
|
// Calls to Update() should *not* be scaled by music rate unless RateModsAffectFGChanges is enabled; fCurrentTime is. Undo it.
|
||||||
const float fRate = PREFSMAN->m_bRateModsAffectTweens ? 1.0f : GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
const float fRate = PREFSMAN->m_bRateModsAffectTweens ? 1.0f : GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
||||||
|
|
||||||
// Find the BGSegment we're in
|
// Find the BGSegment we're in
|
||||||
|
|||||||
+1
-1
@@ -72,7 +72,7 @@ void Foreground::LoadFromSong( const Song *pSong )
|
|||||||
|
|
||||||
void Foreground::Update( float fDeltaTime )
|
void Foreground::Update( float fDeltaTime )
|
||||||
{
|
{
|
||||||
// Calls to Update() should *not* be scaled by music rate. Undo it.
|
// Calls to Update() should *not* be scaled by music rate unless RateModsAffectFGChanges is enabled. Undo it.
|
||||||
const float fRate = PREFSMAN->m_bRateModsAffectTweens ? 1.0f : GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
const float fRate = PREFSMAN->m_bRateModsAffectTweens ? 1.0f : GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate;
|
||||||
|
|
||||||
for( unsigned i=0; i < m_BGAnimations.size(); ++i )
|
for( unsigned i=0; i < m_BGAnimations.size(); ++i )
|
||||||
|
|||||||
Reference in New Issue
Block a user