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/game.cpp | |
parent | 5066fe75830b98f592717b593099a757337c952d (diff) | |
download | hax-minetest-server-af22dd86e3867a35e9e5ab911faa6e1e7671729d.tar.gz hax-minetest-server-af22dd86e3867a35e9e5ab911faa6e1e7671729d.zip |
Fix some more joystick issues (#10624)
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index fd4d09394..6151d2aa6 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -3139,8 +3139,8 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug) wasKeyDown(KeyType::DIG); wasKeyDown(KeyType::PLACE); - input->joystick.clearWasKeyDown(KeyType::DIG); - input->joystick.clearWasKeyDown(KeyType::PLACE); + input->joystick.clearWasKeyPressed(KeyType::DIG); + input->joystick.clearWasKeyPressed(KeyType::PLACE); input->joystick.clearWasKeyReleased(KeyType::DIG); input->joystick.clearWasKeyReleased(KeyType::PLACE); |