projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed broken border redraw of info screen after viewing title screen
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 84e79b3a3c5088834a09a6e741b3b5553053c737..52a562fbc6c90d700438cbbeab36f178ad0e927f 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-826,6
+826,10
@@
boolean CheckIfGlobalBorderRedrawIsNeeded()
if (game_status == game_status_last)
return FALSE;
if (game_status == game_status_last)
return FALSE;
+ // redraw if last screen was title screen
+ if (game_status_last == GAME_MODE_TITLE)
+ return TRUE;
+
// redraw if global screen border has changed
if (CheckIfGlobalBorderHasChanged())
return TRUE;
// redraw if global screen border has changed
if (CheckIfGlobalBorderHasChanged())
return TRUE;