From: Holger Schemel Date: Sun, 4 Oct 2020 23:12:51 +0000 (+0200) Subject: removed unnecessary screen redraws when waiting for events to continue X-Git-Tag: 4.2.0.3~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=67f3bfab902e53e0dc24a01eb6c0e4d274030a47;p=rocksndiamonds.git removed unnecessary screen redraws when waiting for events to continue --- diff --git a/src/tools.c b/src/tools.c index 50f6775b..af239591 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4245,7 +4245,8 @@ void WaitForEventToContinue(void) still_wait = FALSE; } - BackToFront(); + if (!PendingEvent()) + BackToFront(); } }