fixed handling mouse button events when waiting for event to continue
authorHolger Schemel <info@artsoft.org>
Mon, 1 Oct 2018 20:12:38 +0000 (22:12 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 1 Oct 2018 20:12:38 +0000 (22:12 +0200)
src/tools.c

index bccbc9a..a49d312 100644 (file)
@@ -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: