From 8c7c7fa2659666c442678406532f6243d97b90d2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 13 Sep 2006 03:03:00 +0000 Subject: [PATCH] simplify --- stepmania/src/InputFilter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/InputFilter.cpp b/stepmania/src/InputFilter.cpp index 36a04b47a1..97c633b1ad 100644 --- a/stepmania/src/InputFilter.cpp +++ b/stepmania/src/InputFilter.cpp @@ -249,11 +249,8 @@ void InputFilter::Update( float fDeltaTime ) bs.m_fSecsHeld += fDeltaTime; const float fNewHoldTime = bs.m_fSecsHeld; - InputEventType iet; if( fNewHoldTime > g_fTimeBeforeRepeats ) { - iet = IET_REPEAT; - float fRepeatTime; if( fOldHoldTime < g_fTimeBeforeRepeats ) { @@ -273,7 +270,7 @@ void InputFilter::Update( float fDeltaTime ) * increase steadily during repeats. */ di.ts = bs.m_LastInputTime + fRepeatTime; - ReportButtonChange( di, iet ); + ReportButtonChange( di, IET_REPEAT ); } }