summaryrefslogtreecommitdiff
path: root/scene/gui/popup.cpp
diff options
context:
space:
mode:
authorAndreas Haas <27thLiz@gmail.com>2020-07-31 20:16:51 +0200
committerAndreas Haas <27thLiz@gmail.com>2020-07-31 20:16:51 +0200
commit802a0316c56c954d10c0d7f0c7bb44f3298d2c8f (patch)
tree4c42ab7c4df2cd5451267c307270ed12dc285079 /scene/gui/popup.cpp
parent7488b07220fc73df5ed4babf2c9bf53f2fa1bf0e (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 'scene/gui/popup.cpp')
0 files changed, 0 insertions, 0 deletions