From 94e0df832c83bc7b9ead0824cfbc41f166869c68 Mon Sep 17 00:00:00 2001 From: kasull Date: Thu, 26 Feb 2026 04:31:08 -0500 Subject: 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 --- src/util/input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util') 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 ) { -- cgit v1.2.3