From: Holger Schemel Date: Sun, 4 Oct 2020 23:07:05 +0000 (+0200) Subject: added always clearing player action when waiting for events to continue X-Git-Tag: 4.2.0.3~4 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=8f8fae700807f82bb4cb322d38215d99b1e3b483;p=rocksndiamonds.git added always clearing player action when waiting for events to continue --- diff --git a/src/tools.c b/src/tools.c index 3bc4a77f..a6a08d72 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4208,6 +4208,7 @@ void WaitForEventToContinue(void) button_status = MB_RELEASED; ClearEventQueue(); + ClearPlayerAction(); while (still_wait) { @@ -4224,10 +4225,6 @@ void WaitForEventToContinue(void) still_wait = FALSE; break; - case EVENT_KEYRELEASE: - ClearPlayerAction(); - break; - default: HandleOtherEvents(&event); break;