Fix gamepad Key_GetCommandAssignmentInternal returning wrong key count when a command is bound to 2 keys
This commit is contained in:
parent
f8dd3f2b3a
commit
f364e4db66
@ -1730,7 +1730,7 @@ namespace Components
|
||||
(*keys)[keyCount++] = keyNum;
|
||||
|
||||
if (keyCount >= 2)
|
||||
return keyNum;
|
||||
return keyCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1746,7 +1746,7 @@ namespace Components
|
||||
(*keys)[keyCount++] = keyNum;
|
||||
|
||||
if (keyCount >= 2)
|
||||
return keyNum;
|
||||
return keyCount;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user