projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40d5b9f
)
fixed bug with handling mouse events after clicking clickable animations
author
Holger Schemel
<info@artsoft.org>
Mon, 30 Oct 2017 15:27:03 +0000
(16:27 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 30 Oct 2017 15:27:03 +0000
(16:27 +0100)
src/events.c
patch
|
blob
|
history
diff --git
a/src/events.c
b/src/events.c
index d56edaf9c38596a3c9933c15bbd26de96965c703..e575a9814d2cfde95f9bcfb8c4f1067ff01aca77 100644
(file)
--- 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)