removed unnecessary screen redraws when waiting for events to continue
[rocksndiamonds.git] / src / tools.c
index 50f6775bbaa2c6fc08129c04ebadcbd9efd4ad5e..af239591b40067a32c8fdd39cb0a1ae5ac229f6c 100644 (file)
@@ -4245,7 +4245,8 @@ void WaitForEventToContinue(void)
       still_wait = FALSE;
     }
 
-    BackToFront();
+    if (!PendingEvent())
+      BackToFront();
   }
 }