projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed handling global animation click events (finally)
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index d5b3d74a7fe36163cb25939413f9dacf8c93b82d..1e155f9eeacec35859e67fc38087bb8a54f8cb30 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1866,6
+1866,9
@@
static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
HandleGlobalAnim(ANIM_CONTINUE, game_status);
handle_click = FALSE;
HandleGlobalAnim(ANIM_CONTINUE, game_status);
handle_click = FALSE;
+
+ // prevent ignoring release event if processed within same game frame
+ StopProcessingEvents();
}
return (click_consumed || any_event_action);
}
return (click_consumed || any_event_action);