fixed continuing from hall of fame after playing on Android platform
[rocksndiamonds.git] / src / screens.c
index 326fa677c0973404caa4abd28f6dfb97b7746e92..28deabb99892e96178d62af3226efc7b0860ab44 100644 (file)
@@ -4810,8 +4810,8 @@ static void HandleChooseTree(int mx, int my, int dx, int dy, int button,
   }
 
 #if defined(PLATFORM_ANDROID)
-  // touching the screen anywhere continues playing the next level
-  if ((mx || my) && scores.continue_playing)
+  // directly continue when touching the screen after playing
+  if ((mx || my) && scores.continue_on_return)
   {
     mx = my = 0;
     button = MB_MENU_CHOICE;
@@ -5311,7 +5311,7 @@ static void DrawHallOfFame_setScoreEntries(void)
   if (score_entry_current == NULL)
     score_entry_current = getFirstValidTreeInfoEntry(score_entries);
 
-  if (score_entries != NULL && scores.last_added >= 0)
+  if (score_entries != NULL && scores.continue_playing)
     setString(&score_entries->node_group->name, BACKLINK_TEXT_NEXT);
 
   // ("score_entries" and "score_entry_current" may be NULL here)