Initialize key indices like game does when looking up key bindings
This commit is contained in:
parent
05f1270a1f
commit
59fc6d7ff9
@ -1787,6 +1787,9 @@ namespace Components
|
|||||||
{
|
{
|
||||||
auto keyCount = 0;
|
auto keyCount = 0;
|
||||||
|
|
||||||
|
(*keys)[0] = -1;
|
||||||
|
(*keys)[1] = -1;
|
||||||
|
|
||||||
if (gamePads[0].inUse)
|
if (gamePads[0].inUse)
|
||||||
{
|
{
|
||||||
const auto gamePadCmd = GetGamePadCommand(cmd);
|
const auto gamePadCmd = GetGamePadCommand(cmd);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user