diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-11-25 20:41:05 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-11-25 22:53:34 +0100 |
commit | 0297d166fd910040f3d5bfb14ac93e4201899730 (patch) | |
tree | 445313ed3471b582d5a7b0be8f57056d764c92b8 /crawl-ref/source/wiz-dgn.cc | |
parent | 3f44feb22f075f0a54e6a53deeeae566fd22016c (diff) | |
download | crawl-ref-0297d166fd910040f3d5bfb14ac93e4201899730.tar.gz crawl-ref-0297d166fd910040f3d5bfb14ac93e4201899730.zip |
Give a number of yesno() prompts default answers for HUP.
Diffstat (limited to 'crawl-ref/source/wiz-dgn.cc')
-rw-r--r-- | crawl-ref/source/wiz-dgn.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-dgn.cc b/crawl-ref/source/wiz-dgn.cc index 8ad0d7b34d..58949efd0b 100644 --- a/crawl-ref/source/wiz-dgn.cc +++ b/crawl-ref/source/wiz-dgn.cc @@ -300,7 +300,8 @@ bool wizard_create_feature(const coord_def& pos) } if (mimic && !is_valid_mimic_feat(feat) - && !yesno("This isn't a valid feature mimic. Create it anyway? ")) + && !yesno("This isn't a valid feature mimic. Create it anyway? ", + true, 'n')) { canned_msg(MSG_OK); return false; |