From 2e494481d3ead077331c829f41446434a056fb73 Mon Sep 17 00:00:00 2001 From: Valiantsin Dzerakh Date: Thu, 12 Nov 2026 18:25:40 +0300 Subject: [PATCH] Smooth map zoom takes the wheel only on the map menu_cursor.c finds With menu_cursor = 0 map_zoom_allowed answered yes everywhere outside aiming, scope, Ultrahand and lock-on, so the wheel in free roam pushed the right stick's Y and tilted the camera, and the weapon wheel never got the wheel. Co-Authored-By: Claude Opus 5.5 --- runtime/gameplay_tweaks.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runtime/gameplay_tweaks.c b/runtime/gameplay_tweaks.c index f5f8c3ca..4df1147f 100644 --- a/runtime/gameplay_tweaks.c +++ b/runtime/gameplay_tweaks.c @@ -97,8 +97,9 @@ static int map_zoom_allowed(uint64_t buttons) { ctx == INPUT_CAM_ULTRAHAND_OBJECT || ctx == INPUT_CAM_LOCK_ON) { return 0; } - const char *mc = cfg_get("TOTK_MENU_CURSOR"); - return (mc && !strcmp(mc, "0")) ? 1 : menu_cursor_map(); + // Only the map menu_cursor.c finds: with menu_cursor = 0 (or on 1.2.1) the map is not read, and a fallback to + // "allowed" would push the right stick's Y in free roam, where it tilts the camera. + return menu_cursor_map(); } static int weapon_wheel_allowed(uint64_t buttons, int right_down, int already_active) {