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/travel.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/travel.cc')
-rw-r--r-- | crawl-ref/source/travel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/travel.cc b/crawl-ref/source/travel.cc index 9b42d41253..1b119c2cb1 100644 --- a/crawl-ref/source/travel.cc +++ b/crawl-ref/source/travel.cc @@ -2255,7 +2255,7 @@ static int _prompt_travel_branch(int prompt_flags, bool* to_entrance) if (!msg.empty()) { msg += "Go there anyway?"; - if (!yesno(msg.c_str(), true)) + if (!yesno(msg.c_str(), true, 'n')) return ID_CANCEL; } #endif |