fixed handling global animation click events (finally)
[rocksndiamonds.git] / src / anim.c
index d5b3d74a7fe36163cb25939413f9dacf8c93b82d..1e155f9eeacec35859e67fc38087bb8a54f8cb30 100644 (file)
@@ -1866,6 +1866,9 @@ static boolean InitGlobalAnim_Clicked(int mx, int my, int clicked_event)
     HandleGlobalAnim(ANIM_CONTINUE, game_status);
 
     handle_click = FALSE;
+
+    // prevent ignoring release event if processed within same game frame
+    StopProcessingEvents();
   }
 
   return (click_consumed || any_event_action);