projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed order of processing game modes for global animations clicks
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index 7ef6d6904b6a6243923e98dcfb5909aedbf6b32e..7f50b28bc84f902145e61c3f0f3b57174b6d1e13 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-2122,8
+2122,7
@@
static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
int mode_nr;
int i;
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--)
+ for (mode_nr = 0; mode_nr < NUM_GAME_MODES; mode_nr++)
{
struct GlobalAnimControlInfo *ctrl = &global_anim_ctrl[mode_nr];
int anim_nr;
{
struct GlobalAnimControlInfo *ctrl = &global_anim_ctrl[mode_nr];
int anim_nr;