fixed handling clickable global animations during request dialog
[rocksndiamonds.git] / src / tools.c
index e33344dd6b23cd1a64bd06a2f84d4d8924836fc0..0817e3d864e656b081d0a6658a5ed4774402dd47 100644 (file)
@@ -2846,7 +2846,7 @@ void ShowEnvelope(int envelope_nr)
   AnimateEnvelope(envelope_nr, main_anim_mode, ACTION_OPENING);
 
   if (tape.playing)
-    Delay(wait_delay_value);
+    Delay_WithScreenUpdates(wait_delay_value);
   else
     WaitForEventToContinue();
 
@@ -4362,6 +4362,8 @@ static int RequestHandleEvents(unsigned int req_state)
                break;
 
              default:
+               // only check clickable animations if no request gadget clicked
+               HandleGlobalAnimClicks(mx, my, button_status, FALSE);
                break;
            }