added being able to generally set global animations to passthrough clicks
[rocksndiamonds.git] / src / anim.c
index 81441829e8694ef2b0fb8f44b27cb8443fe45e9e..b6ee0b933cb1b12307578c73fe3b2b18eb705825 100644 (file)
@@ -1543,7 +1543,8 @@ static boolean InitGlobalAnim_Clicked(int mx, int my, boolean clicked)
          if (!any_event_action && DoGlobalAnim_EventAction(part))
            any_event_action = TRUE;
 
-         any_part_clicked = TRUE;
+         // determine if mouse clicks should be blocked from other animations
+         any_part_clicked = clickConsumed(part);
 
          if (isClickablePart(part, ANIM_EVENT_SELF))
          {