aboutsummaryrefslogtreecommitdiff
path: root/src/client/inputhandler.h
diff options
context:
space:
mode:
authorMarkus <markus@notsyncing.net>2020-12-19 22:01:05 +0100
committerGitHub <noreply@github.com>2020-12-19 22:01:05 +0100
commitaf22dd86e3867a35e9e5ab911faa6e1e7671729d (patch)
tree43e91b6941e5e1c6528dbe9e4a35669b3ef58120 /src/client/inputhandler.h
parent5066fe75830b98f592717b593099a757337c952d (diff)
downloaddragonfireclient-af22dd86e3867a35e9e5ab911faa6e1e7671729d.tar.xz
Fix some more joystick issues (#10624)
Diffstat (limited to 'src/client/inputhandler.h')
-rw-r--r--src/client/inputhandler.h2
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)
{