projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed assumed position of screen keyboard for Android platform
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index c3948745602ad2cbbfeb5ac56ee6a575b4a47717..a08b813e53019d3e94879d5fa4e5eb599f5a044f 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1766,7
+1766,10
@@
static boolean DoGlobalAnim_EventAction(struct GlobalAnimPartControlInfo *part)
if (event_action == ANIM_EVENT_ACTION_NONE)
return FALSE;
if (event_action == ANIM_EVENT_ACTION_NONE)
return FALSE;
- PushUserEvent(USEREVENT_ANIM_EVENT_ACTION, event_action, 0);
+ if (event_action < MAX_IMAGE_FILES)
+ PushUserEvent(USEREVENT_ANIM_EVENT_ACTION, event_action, 0);
+ else
+ OpenURLFromHash(anim_url_hash, event_action);
// check if further actions are allowed to be executed
if (part->control_info.style & STYLE_MULTIPLE_ACTIONS)
// check if further actions are allowed to be executed
if (part->control_info.style & STYLE_MULTIPLE_ACTIONS)