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 (again)
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index 1e155f9eeacec35859e67fc38087bb8a54f8cb30..14dccc69c46d25a34764b0cbdbf7e18bd2354ad3 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-1764,6
+1764,7
@@
static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
boolean any_part_clicked = FALSE;
boolean any_event_action = FALSE;
int mode_nr;
boolean any_part_clicked = FALSE;
boolean any_event_action = FALSE;
int mode_nr;
+ int i;
// check game modes in reverse draw order (to stop when clicked)
for (mode_nr = NUM_GAME_MODES - 1; mode_nr >= 0; mode_nr--)
// check game modes in reverse draw order (to stop when clicked)
for (mode_nr = NUM_GAME_MODES - 1; mode_nr >= 0; mode_nr--)
@@
-1863,7
+1864,8
@@
static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
{
handle_click = TRUE;
{
handle_click = TRUE;
- HandleGlobalAnim(ANIM_CONTINUE, game_status);
+ for (i = 0; i < NUM_GAME_MODES; i++)
+ HandleGlobalAnim(ANIM_CONTINUE, i);
handle_click = FALSE;
handle_click = FALSE;