added handling global animations when showing envelope during tape replay
authorHolger Schemel <info@artsoft.org>
Thu, 25 Apr 2019 17:37:00 +0000 (19:37 +0200)
committerHolger Schemel <info@artsoft.org>
Thu, 25 Apr 2019 17:37:00 +0000 (19:37 +0200)
src/tools.c

index d3bfb74dd9385fde17716522aaf9555247ce42be..741ce7fdf4ca1a5cc94bb07e43ccf871442fcaea 100644 (file)
@@ -2846,7 +2846,7 @@ void ShowEnvelope(int envelope_nr)
   AnimateEnvelope(envelope_nr, main_anim_mode, ACTION_OPENING);
 
   if (tape.playing)
   AnimateEnvelope(envelope_nr, main_anim_mode, ACTION_OPENING);
 
   if (tape.playing)
-    Delay(wait_delay_value);
+    Delay_WithScreenUpdates(wait_delay_value);
   else
     WaitForEventToContinue();
 
   else
     WaitForEventToContinue();