mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Fix keyWasDown in input handler
This was changed 291a6b70d6
but should have never been done.
This commit is contained in:
parent
35b476c65d
commit
9b59b2f75d
2 changed files with 4 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue