Skip to content

Commit

Permalink
Stop mouse wheel advancing cast sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Sep 2, 2024
1 parent 62abda8 commit b1121d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/f_finale.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b1121d5

Please sign in to comment.