projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added event actions (active screen elements) for global animations
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index 0043a3e9c864c6b516e6183540c9dff26426de0d..a38a1c3dca867fd5bc10cb0841aea26829c3dc87 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1450,7
+1450,8
@@
static boolean DoGlobalAnim_EventAction(struct GlobalAnimPartControlInfo *part)
if (anim_event_action == -1)
return FALSE;
- return DoGadgetAction(anim_event_action);
+ return (DoGadgetAction(anim_event_action) ||
+ DoScreenAction(anim_event_action));
}
static void InitGlobalAnim_Clickable()