fixed rebind bug

This commit is contained in:
Fire_Head 2019-06-17 02:32:34 +03:00 committed by GitHub
parent 0add48abf5
commit d92c9085da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1837,7 +1837,7 @@ int32 *CPad::EditCodesForControls(int32 *pRsKeys, int32 nSize)
*pRsKeys = i; *pRsKeys = i;
} }
for ( int32 i = 0; i < 255; i++ ) for ( int32 i = 0; i < 12; i++ )
{ {
if ( GetPad(0)->GetFJustDown(i) ) if ( GetPad(0)->GetFJustDown(i) )
*pRsKeys = i + rsF1; *pRsKeys = i + rsF1;