fixed handling mouse button events when waiting for event to continue
[rocksndiamonds.git] / 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: