fixed bug with ending solved MM level without scores when using keyboard
authorHolger Schemel <info@artsoft.org>
Wed, 13 Dec 2017 07:55:26 +0000 (08:55 +0100)
committerHolger Schemel <info@artsoft.org>
Fri, 23 Mar 2018 22:21:17 +0000 (23:21 +0100)
src/events.c

index 65b20da1cb634a22e5a6cc1e4c8ce39fdd8a1e9e..349d75fb21ffc5f74c83baf9733e996da12fc1f7 100644 (file)
@@ -2315,8 +2315,11 @@ void HandleJoystick()
     }
 
     case GAME_MODE_PLAYING:
+#if 0
+      // !!! causes immediate GameEnd() when solving MM level with keyboard !!!
       if (tape.playing || keyboard)
        newbutton = ((joy & JOY_BUTTON) != 0);
+#endif
 
       if (newbutton && AllPlayersGone)
       {