static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
{
boolean click_consumed = FALSE;
+ boolean anything_clicked = FALSE;
boolean any_part_clicked = FALSE;
boolean any_event_action = FALSE;
int mode_nr;
part->old_anim_nr + 1, part->old_nr + 1);
#endif
- part->clicked = TRUE;
+ anything_clicked = part->clicked = TRUE;
click_consumed |= clickConsumed(part);
}
part->old_anim_nr + 1, part->old_nr + 1);
#endif
- part->clicked = TRUE;
+ anything_clicked = part->clicked = TRUE;
click_consumed |= clickConsumed(part);
}
part->old_anim_nr + 1, part->old_nr + 1);
#endif
- part->clicked = TRUE;
+ anything_clicked = part->clicked = TRUE;
click_consumed |= clickConsumed(part);
}
}
}
- if (click_consumed)
+ if (anything_clicked)
{
handle_click = TRUE;