From: Holger Schemel Date: Mon, 1 Oct 2018 20:12:38 +0000 (+0200) Subject: fixed handling mouse button events when waiting for event to continue X-Git-Tag: 4.1.1.0~14 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=843f357b031cd1f30167bd3d3596f372d2289b6f;p=rocksndiamonds.git fixed handling mouse button events when waiting for event to continue --- diff --git a/src/tools.c b/src/tools.c index bccbc9ab..a49d312f 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4203,7 +4203,7 @@ void WaitForEventToContinue(void) { switch (event.type) { - case EVENT_BUTTONPRESS: + case EVENT_BUTTONRELEASE: case EVENT_KEYPRESS: #if defined(TARGET_SDL2) case SDL_CONTROLLERBUTTONDOWN: