diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 14:00:10 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-12-12 14:00:10 +0100 |
commit | 7250cf2c1c29b685b8ac3552c296f11c8178b0a0 (patch) | |
tree | 8a36316aaa95e5355f35229f816b52db0fd7eac0 /src/client/game.cpp | |
parent | f783f59392f5e86c5645195521b2fa008ffe4fe7 (diff) | |
parent | af073438fd70833955a30bcbe1c22e6f344ec41c (diff) | |
download | dragonfireclient-7250cf2c1c29b685b8ac3552c296f11c8178b0a0.tar.xz |
Merge branch 'master' of https://github.com/minetest/minetest
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 5893e8ac9..18707306c 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2412,6 +2412,9 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug) input->clearWasKeyPressed(); input->clearWasKeyReleased(); + // Ensure DIG & PLACE are marked as handled + wasKeyDown(KeyType::DIG); + wasKeyDown(KeyType::PLACE); input->joystick.clearWasKeyDown(KeyType::DIG); input->joystick.clearWasKeyDown(KeyType::PLACE); |