fix scrollBPM doesn't approach target
This commit is contained in:
@@ -44,6 +44,9 @@ void PlayerOptions::Approach( const PlayerOptions& other, float fDeltaSeconds )
|
|||||||
#define APP( opt ) \
|
#define APP( opt ) \
|
||||||
fapproach( m_ ## opt, other.m_ ## opt, fDeltaSeconds * other.m_Speed ## opt );
|
fapproach( m_ ## opt, other.m_ ## opt, fDeltaSeconds * other.m_Speed ## opt );
|
||||||
|
|
||||||
|
APP( fTimeSpacing );
|
||||||
|
APP( fScrollSpeed );
|
||||||
|
APP( fScrollBPM );
|
||||||
for( int i=0; i<NUM_ACCELS; i++ )
|
for( int i=0; i<NUM_ACCELS; i++ )
|
||||||
APP( fAccels[i] );
|
APP( fAccels[i] );
|
||||||
for( int i=0; i<NUM_EFFECTS; i++ )
|
for( int i=0; i<NUM_EFFECTS; i++ )
|
||||||
@@ -52,8 +55,6 @@ void PlayerOptions::Approach( const PlayerOptions& other, float fDeltaSeconds )
|
|||||||
APP( fAppearances[i] );
|
APP( fAppearances[i] );
|
||||||
for( int i=0; i<NUM_SCROLLS; i++ )
|
for( int i=0; i<NUM_SCROLLS; i++ )
|
||||||
APP( fScrolls[i] );
|
APP( fScrolls[i] );
|
||||||
APP( fTimeSpacing );
|
|
||||||
APP( fScrollSpeed );
|
|
||||||
APP( fDark );
|
APP( fDark );
|
||||||
APP( fBlind );
|
APP( fBlind );
|
||||||
APP( fCover );
|
APP( fCover );
|
||||||
|
|||||||
Reference in New Issue
Block a user