projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed changing from title to info screen with custom playfield size
[rocksndiamonds.git]
/
src
/
screens.c
diff --git
a/src/screens.c
b/src/screens.c
index e453e4a732e05c4f154e8962cf6603f5051d6173..982bdf90fc87f91c03585d7c03604bf7fc6f8647 100644
(file)
--- a/
src/screens.c
+++ b/
src/screens.c
@@
-1619,9
+1619,11
@@
void HandleTitleScreen(int mx, int my, int dx, int dy, int button)
if (game_status == GAME_MODE_INFO)
{
if (game_status == GAME_MODE_INFO)
{
+ int fade_mask = (num_title_screens == 0 ? REDRAW_FIELD : REDRAW_ALL);
+
info_mode = INFO_MODE_MAIN;
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 */
{
}
else /* default: return to main menu */
{