This commit is contained in:
Glenn Maynard
2005-03-27 00:33:31 +00:00
parent 734f4ba4f1
commit aead9c172c
+1 -1
View File
@@ -220,7 +220,7 @@ bool ScreenEdit::DeviceToEdit( DeviceInput DeviceI, EditButton &button ) const
for( int holdslot = 0; holdslot < NUM_EDIT_TO_DEVICE_SLOTS; ++holdslot ) for( int holdslot = 0; holdslot < NUM_EDIT_TO_DEVICE_SLOTS; ++holdslot )
{ {
DeviceInput hDI = pCurrentMap->hold[e][holdslot]; DeviceInput hDI = pCurrentMap->hold[e][holdslot];
if( INPUTFILTER->IsBeingPressed(hDI) ) if( hDI.IsValid() && INPUTFILTER->IsBeingPressed(hDI) )
return true; return true;
} }
} }