From: Holger Schemel Date: Sat, 16 Apr 2022 23:01:04 +0000 (+0200) Subject: added auto-playing next level when touching scores screen on Android X-Git-Tag: 4.3.2.0~3 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=220eba293baab8856f29ca243c9d2d313806cab1;p=rocksndiamonds.git added auto-playing next level when touching scores screen on Android --- diff --git a/src/screens.c b/src/screens.c index 44ea6133..f578c05d 100644 --- a/src/screens.c +++ b/src/screens.c @@ -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) {