dialog::DONT_SHOW to prevent showing the map in number dialogs

This commit is contained in:
Zeno Rogue
2019-09-12 22:50:08 +02:00
parent e58e3c9bcb
commit 392611045a
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -740,6 +740,7 @@ namespace dialog {
void drawNumberDialog() {
cmode = sm::NUMBER | dialogflags;
if(numberdark < DONT_SHOW)
gamescreen(numberdark);
init(ne.title);
addInfo(ne.s);
@@ -1126,6 +1127,7 @@ namespace dialog {
void string_edit_dialog() {
cmode = sm::NUMBER | dialogflags;
if(numberdark < DONT_SHOW)
gamescreen(numberdark);
init(ne.title);
addInfo(view_edited_string());