diff options
| author | Markus <markus@notsyncing.net> | 2020-12-19 22:01:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-19 22:01:05 +0100 |
| commit | af22dd86e3867a35e9e5ab911faa6e1e7671729d (patch) | |
| tree | 43e91b6941e5e1c6528dbe9e4a35669b3ef58120 /src/client/inputhandler.h | |
| parent | 5066fe75830b98f592717b593099a757337c952d (diff) | |
| download | dragonfireclient-af22dd86e3867a35e9e5ab911faa6e1e7671729d.tar.xz | |
Fix some more joystick issues (#10624)
Diffstat (limited to 'src/client/inputhandler.h')
| -rw-r--r-- | src/client/inputhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/inputhandler.h b/src/client/inputhandler.h index def147a82..7487bbdc7 100644 --- a/src/client/inputhandler.h +++ b/src/client/inputhandler.h @@ -279,7 +279,7 @@ public: } virtual bool wasKeyPressed(GameKeyType k) { - return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyReleased(k); + return m_receiver->WasKeyPressed(keycache.key[k]) || joystick.wasKeyPressed(k); } virtual bool wasKeyReleased(GameKeyType k) { |
