Merge pull request #278 from Laupetin/fix/crash-on-clearing-keys
Fix crash on clearing keys via menus
This commit is contained in:
commit
9974d0a71a
@ -1787,6 +1787,9 @@ namespace Components
|
||||
{
|
||||
auto keyCount = 0;
|
||||
|
||||
(*keys)[0] = -1;
|
||||
(*keys)[1] = -1;
|
||||
|
||||
if (gamePads[0].inUse)
|
||||
{
|
||||
const auto gamePadCmd = GetGamePadCommand(cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user