InputMapper::IsButtonDown -> IsBeingPressed, to match InputFilter::IsBeingPressed

This commit is contained in:
Glenn Maynard
2006-09-08 02:12:30 +00:00
parent 18b047fd94
commit ec3b9382d2
10 changed files with 33 additions and 30 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ bool CodeItem::EnteredCode( GameController controller ) const
for( unsigned i=0; i<buttons.size()-1; i++ )
{
GameInput gi( controller, buttons[i] );
if( !INPUTMAPPER->IsButtonDown(gi) )
if( !INPUTMAPPER->IsBeingPressed(gi) )
return false;
}
// just pressed the last button