if (isClickablePart(part2, mask))
{
part2->triggered = TRUE;
- *click_consumed = clickConsumed(part); // click was on "part"!
+ *click_consumed |= clickConsumed(part); // click was on "part"!
#if DEBUG_ANIM_EVENTS
printf("::: => %d.%d TRIGGERED BY %s OF %d.%d\n",
#endif
part->clicked = TRUE;
- click_consumed = clickConsumed(part);
+ click_consumed |= clickConsumed(part);
}
// always handle "unclick:any" events (releasing anywhere on screen) ...
#endif
part->clicked = TRUE;
- click_consumed = clickConsumed(part);
+ click_consumed |= clickConsumed(part);
}
// ... but only handle the first (topmost) clickable animation
any_event_action = TRUE;
// determine if mouse clicks should be blocked from other animations
- any_part_clicked = clickConsumed(part);
+ any_part_clicked |= clickConsumed(part);
if (isClickablePart(part, ANIM_EVENT_SELF))
{
#endif
part->clicked = TRUE;
- click_consumed = clickConsumed(part);
+ click_consumed |= clickConsumed(part);
}
// check if this click is defined to trigger other animations