summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorkasull <qsullian@gmail.com>2026-02-26 04:31:08 -0500
committerkasull <qsullian@gmail.com>2026-02-26 04:31:08 -0500
commit94e0df832c83bc7b9ead0824cfbc41f166869c68 (patch)
treec90d78ea332d66a09020a431b5031aa42686bd9f /src/util
parentb384930de5044934207d1b2ceb4fa55705094f8b (diff)
add wall shape dropdown and drag-based polygon creation with height controls
fix wall Z bounds calculation and key index masking in input handling preserve 2D view/cursor stability when map bounds update
Diffstat (limited to 'src/util')
-rw-r--r--src/util/input.cpp2
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 ) {