diff --git a/stepmania/src/InputFilter.cpp b/stepmania/src/InputFilter.cpp index bc87fc91da..36a04b47a1 100644 --- a/stepmania/src/InputFilter.cpp +++ b/stepmania/src/InputFilter.cpp @@ -92,7 +92,7 @@ void InputFilter::Reset() ResetDevice( InputDevice(i) ); } -void InputFilter::SetRepeatRate( float fDelay, float fFastDelay, float fRepeatRate ) +void InputFilter::SetRepeatRate( float fDelay, float fRepeatRate ) { g_fTimeBeforeRepeats = fDelay; g_fTimeBetweenRepeats = 1/fRepeatRate; @@ -100,7 +100,7 @@ void InputFilter::SetRepeatRate( float fDelay, float fFastDelay, float fRepeatRa void InputFilter::ResetRepeatRate() { - SetRepeatRate( TIME_BEFORE_REPEATS, 0, REPEATS_PER_SEC ); + SetRepeatRate( TIME_BEFORE_REPEATS, REPEATS_PER_SEC ); } ButtonState::ButtonState(): diff --git a/stepmania/src/InputFilter.h b/stepmania/src/InputFilter.h index 59e052a7ac..86177ae26c 100644 --- a/stepmania/src/InputFilter.h +++ b/stepmania/src/InputFilter.h @@ -44,7 +44,7 @@ public: void Reset(); void Update( float fDeltaTime ); - void SetRepeatRate( float fSlowDelay, float fFastDelay, float fRepeatRate ); + void SetRepeatRate( float fDelay, float fRepeatRate ); void ResetRepeatRate(); void ResetKeyRepeat( const DeviceInput &di ); diff --git a/stepmania/src/ScreenOptions.cpp b/stepmania/src/ScreenOptions.cpp index e3b7d6e005..ca166ec39b 100644 --- a/stepmania/src/ScreenOptions.cpp +++ b/stepmania/src/ScreenOptions.cpp @@ -554,7 +554,7 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM ) } else if( SM == SM_GainFocus ) { - INPUTFILTER->SetRepeatRate( 0.25f, 0.25f, 12 ); + INPUTFILTER->SetRepeatRate( 0.25f, 12 ); } else if( SM == SM_LoseFocus ) {