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