simplify
This commit is contained in:
@@ -55,8 +55,9 @@ void ScreenTestInput::Update( float fDeltaTime )
|
||||
di.device = d;
|
||||
di.button = b;
|
||||
|
||||
if( INPUTFILTER->IsBeingPressed(di) )
|
||||
{
|
||||
if( !INPUTFILTER->IsBeingPressed(di) )
|
||||
continue;
|
||||
|
||||
CString sTemp;
|
||||
sTemp += di.toString();
|
||||
|
||||
@@ -81,7 +82,6 @@ void ScreenTestInput::Update( float fDeltaTime )
|
||||
asInputs.push_back( sTemp );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
m_textInputs.SetText( join( "\n", asInputs ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user