diff options
author | Andreas Haas <27thLiz@gmail.com> | 2020-07-31 20:16:51 +0200 |
---|---|---|
committer | Andreas Haas <27thLiz@gmail.com> | 2020-07-31 20:16:51 +0200 |
commit | 802a0316c56c954d10c0d7f0c7bb44f3298d2c8f (patch) | |
tree | 4c42ab7c4df2cd5451267c307270ed12dc285079 /editor/icons/Vector3.svg | |
parent | 7488b07220fc73df5ed4babf2c9bf53f2fa1bf0e (diff) |
DirectInput: use correct joypad id
Previously `joypad_count` was used as the index into the d_joypads array when initializing a new gamepad.
This caused the accidental override of an already connected device when a gamepad with a lower id was disconnected and connected again.
fixes #17566
Diffstat (limited to 'editor/icons/Vector3.svg')
0 files changed, 0 insertions, 0 deletions