optimize InputFilter::Update

This commit is contained in:
Chris Danford
2003-10-07 05:59:58 +00:00
parent 8ac398d192
commit 8c3db31ba7
5 changed files with 30 additions and 12 deletions
+1 -1
View File
@@ -448,7 +448,7 @@ void InputMapper::UpdateTempDItoGI()
// clear out m_tempDItoGI
for( int d=0; d<NUM_INPUT_DEVICES; d++ )
{
for( int b=0; b<NUM_DEVICE_BUTTONS; b++ )
for( int b=0; b<NUM_DEVICE_BUTTONS[d]; b++ )
{
m_tempDItoGI[d][b].MakeInvalid();
}