From bbb1e1a4759841b63e3651b93cb7b28724146d56 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 30 Oct 2017 16:27:03 +0100 Subject: [PATCH] fixed bug with handling mouse events after clicking clickable animations --- src/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.c b/src/events.c index d56edaf9..e575a981 100644 --- a/src/events.c +++ b/src/events.c @@ -1275,7 +1275,7 @@ void HandleButton(int mx, int my, int button, int button_nr) if (HandleGlobalAnimClicks(mx, my, button)) { /* do not handle this button event anymore */ - mx = my = -32; /* force mouse event to be outside screen tiles */ + return; /* force mouse event not to be handled at all */ } if (button_hold && game_status == GAME_MODE_PLAYING && tape.pausing) -- 2.34.1