summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/travel.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-11-25 20:41:05 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-11-25 22:53:34 +0100
commit0297d166fd910040f3d5bfb14ac93e4201899730 (patch)
tree445313ed3471b582d5a7b0be8f57056d764c92b8 /crawl-ref/source/travel.cc
parent3f44feb22f075f0a54e6a53deeeae566fd22016c (diff)
downloadcrawl-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.cc2
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