projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added using '.draw_masked' for global animation and toon graphics
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index 25d243b7b105f5beb368b203e7195ee97a1bc450..93b135503b073c32e9a34ee79ccf5fbbcf13562a 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-1233,6
+1233,12
@@
void HandleButton(int mx, int my, int button, int button_nr)
}
#endif
}
#endif
+ if (HandleGlobalAnimClicks(mx, my, button))
+ {
+ /* do not handle this button event anymore */
+ mx = my = -32; /* force mouse event to be outside screen tiles */
+ }
+
if (button_hold && game_status == GAME_MODE_PLAYING && tape.pausing)
return;
if (button_hold && game_status == GAME_MODE_PLAYING && tape.pausing)
return;