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 bccbc9abbd3e6c4b82c7f16aaa5a322f33fa5d69..a49d312f928244787c273c0528ee7e8e25f611cc 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: