diff options
author | sfan5 <sfan5@live.de> | 2021-02-23 14:21:15 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-02-23 19:41:38 +0100 |
commit | 9b59b2f75de8a523cba255335fb8d9350716c8c5 (patch) | |
tree | 928d961d3d6cdad04265f5cdb535186f77ee1222 /src/client/inputhandler.h | |
parent | 35b476c65df9c78935e166b94ca686015b43960f (diff) | |
download | hax-minetest-server-9b59b2f75de8a523cba255335fb8d9350716c8c5.tar.gz hax-minetest-server-9b59b2f75de8a523cba255335fb8d9350716c8c5.zip |
Fix keyWasDown in input handler
This was changed 291a6b70d674d9003f522b5875a60f7e2753e32b but should have never been done.
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 7487bbdc7..1fb4cf0ec 100644 --- a/src/client/inputhandler.h +++ b/src/client/inputhandler.h @@ -201,7 +201,7 @@ private: // The current state of keys KeyList keyIsDown; - // Whether a key was down + // Like keyIsDown but only reset when that key is read KeyList keyWasDown; // Whether a key has just been pressed |