summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 20:49:29 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-11 20:49:29 +0000
commitec5b80d6bf96936a3f803e89c7128effa703ebe7 (patch)
treef92d236e8e9bd3a74b87c23453a91be0a8ccbb70 /crawl-ref/source/abl-show.cc
parent4c540e1c4e99150305b9c5297928ed1794cec13c (diff)
downloadcrawl-ref-ec5b80d6bf96936a3f803e89c7128effa703ebe7.tar.gz
crawl-ref-ec5b80d6bf96936a3f803e89c7128effa703ebe7.zip
* Add description toggle (only '?' this time) into spellcasting menu and
make I use a loop as well, so that z?? and I are now functionally identical. (Which of course brings up the question of whether you really need an additional key to do this. :p) * Simplify a bit. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9413 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 0e5b696c34..5aca3410a4 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -867,7 +867,7 @@ bool activate_ability()
int selected = -1;
while (selected < 0)
{
- msg::streams(MSGCH_PROMPT) << "Use which ability? (? or * to list)"
+ msg::streams(MSGCH_PROMPT) << "Use which ability? (? or * to list) "
<< std::endl;
const int keyin = get_ch();
@@ -1939,7 +1939,7 @@ static void _pay_ability_costs(const ability_def& abil)
lose_piety( piety_cost );
}
-int choose_ability_menu(const std::vector<talent>& talents, bool describe)
+int choose_ability_menu(const std::vector<talent>& talents)
{
Menu abil_menu(MF_SINGLESELECT | MF_ANYPRINTABLE, "ability");
@@ -1957,12 +1957,6 @@ int choose_ability_menu(const std::vector<talent>& talents, bool describe)
// of abilities during the tutorial.
abil_menu.set_more(tut_abilities_info());
}
- else if (describe)
- {
- abil_menu.set_more(formatted_string::parse_string(
- "Choose any ability to read its description, "
- "or exit the menu with Escape."));
- }
else
{
abil_menu.set_more(formatted_string::parse_string(