unwrap
This commit is contained in:
@@ -249,8 +249,9 @@ void InputFilter::Update( float fDeltaTime )
|
||||
bs.m_fSecsHeld += fDeltaTime;
|
||||
const float fNewHoldTime = bs.m_fSecsHeld;
|
||||
|
||||
if( fNewHoldTime > g_fTimeBeforeRepeats )
|
||||
{
|
||||
if( fNewHoldTime <= g_fTimeBeforeRepeats )
|
||||
continue;
|
||||
|
||||
float fRepeatTime;
|
||||
if( fOldHoldTime < g_fTimeBeforeRepeats )
|
||||
{
|
||||
@@ -272,7 +273,6 @@ void InputFilter::Update( float fDeltaTime )
|
||||
|
||||
ReportButtonChange( di, IET_REPEAT );
|
||||
}
|
||||
}
|
||||
|
||||
FOREACH( ButtonStateMap::iterator, ButtonsToErase, it )
|
||||
g_ButtonStates.erase( *it );
|
||||
|
||||
Reference in New Issue
Block a user