summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/command.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 20:27:50 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-02 20:27:50 +0000
commit17125f250661e8430e320f4c05d74094235f0cf3 (patch)
tree9f681260f2fed49c56911637fd13a800a5e993e0 /crawl-ref/source/command.cc
parent5a1d2984131beed046555602cee60045ac665212 (diff)
downloadcrawl-ref-17125f250661e8430e320f4c05d74094235f0cf3.tar.gz
crawl-ref-17125f250661e8430e320f4c05d74094235f0cf3.zip
Fixed 2481704: Travel stopping for spellcasting monsters without LOS
spells behind glass. Fixed 2174517: V giving information about unknown items in stashes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8128 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/command.cc')
-rw-r--r--crawl-ref/source/command.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/crawl-ref/source/command.cc b/crawl-ref/source/command.cc
index 7751761b85..2c61f637c6 100644
--- a/crawl-ref/source/command.cc
+++ b/crawl-ref/source/command.cc
@@ -1390,7 +1390,6 @@ static bool _handle_FAQ()
return (false);
}
Menu FAQmenu(MF_SINGLESELECT | MF_ANYPRINTABLE | MF_ALLOW_FORMATTING);
-// FAQmenu.set_more(formatted_string::parse_string("Choose a question!"));
MenuEntry *title = new MenuEntry("Frequently Asked Questions");
title->colour = YELLOW;
FAQmenu.set_title(title);
@@ -1438,8 +1437,8 @@ static bool _handle_FAQ()
std::string answer = getFAQ_Answer(key);
if (answer.empty())
{
- mpr("No answer found in the FAQ! Please submit a bug report!");
- return (false);
+ answer = "No answer found in the FAQ! Please submit a "
+ "bug report!";
}
answer = "Q: " + getFAQ_Question(key) + EOL + "A: " + answer;
linebreak_string2(answer, width - 1);