From b1121d5f844f5e947ec8bf9d8ca7489b64fdb153 Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Mon, 2 Sep 2024 18:06:44 +1000 Subject: [PATCH] Stop mouse wheel advancing cast sequence --- src/f_finale.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/f_finale.c b/src/f_finale.c index 3b6ee1aeb..6e7495272 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -731,6 +731,9 @@ static bool F_CastResponder(const event_t *ev) if (ev->type == ev_mouse && !(ev->data1 & mousefire) && !(ev->data1 & mouseuse)) return false; + if (ev->type == ev_mousewheel) + return false; + if (ev->type == ev_controller && !(controllerbuttons & controllerfire) && !(controllerbuttons & controlleruse)) return false;