diff options
| author | aura <nw@moneybot.cc> | 2026-02-27 10:08:14 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-02-27 10:08:14 +0100 |
| commit | 7c0e1e9b3beb0ab5f00c27eb97b84570c532b9ac (patch) | |
| tree | e9e9a8b14fc2698fe6895a5903ff98f1960d3b46 /src/util | |
| parent | 66561ea2fb7f76c408c08e21132e58914329faba (diff) | |
| parent | 17780f161914e30aaeb1321872730f7fb2cd26c3 (diff) | |
Merge branch 'tool-updates'
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/input.cpp b/src/util/input.cpp index 1222658..fa308e2 100644 --- a/src/util/input.cpp +++ b/src/util/input.cpp @@ -80,7 +80,7 @@ void input_frame_end() { } U8 input_is_key_down( U32 key ) { - return input.keys[key]; + return input.keys[key & 0xff]; } void input_capture_mouse( U8 capture ) { |
