added auto-playing next level when touching scores screen on Android
[rocksndiamonds.git] / src / screens.c
index 44ea613339df9dcad6089f980d15bb4cb04f431e..f578c05d233f24ac8454379b86bb18b66e79103f 100644 (file)
@@ -4781,6 +4781,15 @@ static void HandleChooseTree(int mx, int my, int dx, int dy, int button,
     return;
   }
 
+#if defined(PLATFORM_ANDROID)
+  // touching the screen anywhere continues playing the next level
+  if ((mx || my) && scores.was_just_playing)
+  {
+    mx = my = 0;
+    button = MB_MENU_CHOICE;
+  }
+#endif
+
   // any mouse click or direction input stops playing the next level
   if ((mx || my || dx || dy) && scores.was_just_playing)
   {