fixed changing from title to info screen with custom playfield size
[rocksndiamonds.git] / src / screens.c
index e453e4a732e05c4f154e8962cf6603f5051d6173..982bdf90fc87f91c03585d7c03604bf7fc6f8647 100644 (file)
@@ -1619,9 +1619,11 @@ void HandleTitleScreen(int mx, int my, int dx, int dy, int button)
 
     if (game_status == GAME_MODE_INFO)
     {
+      int fade_mask = (num_title_screens == 0 ? REDRAW_FIELD : REDRAW_ALL);
+
       info_mode = INFO_MODE_MAIN;
 
-      DrawInfoScreenExt(REDRAW_ALL, use_fading_main_menu);
+      DrawInfoScreenExt(fade_mask, use_fading_main_menu);
     }
     else       /* default: return to main menu */
     {