1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-02-07 10:10:15 +00:00

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

This commit is contained in:
Zeno Rogue
2019-07-12 23:13:35 +02:00
parent e58e3c9bcb
commit 392611045a
2 changed files with 5 additions and 0 deletions

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());