summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/directn.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-16 20:49:42 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-16 20:49:42 +0000
commit305618f279ee424e35c254b0d63d151f91fd3e69 (patch)
tree0c4e1ed4b83a802c009af44d74ac11190c650f07 /crawl-ref/source/directn.cc
parente517615e56766a43008442ebdfe3669c6333710a (diff)
downloadcrawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.tar.gz
crawl-ref-305618f279ee424e35c254b0d63d151f91fd3e69.zip
* Fix 2687930: Shorten the spell menu more, and don't call update_title()
at '?' as apparently all it does is hide the first spell line. * Uncomment the autoinscription of weapons of distortion in init.txt. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9511 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/directn.cc')
-rw-r--r--crawl-ref/source/directn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc
index 71c8ec454d..9f31f50935 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -560,7 +560,6 @@ void full_describe_view()
if (monster_descriptor(list_mons[i]->type, MDSC_NOMSG_WOUNDS))
damage_level = MDAM_OKAY;
- std::vector<formatted_string> fss;
std::string str = get_monster_equipment_desc(list_mons[i], true,
DESC_CAP_A, true);
@@ -572,6 +571,7 @@ void full_describe_view()
// Wraparound if the description is longer than allowed.
linebreak_string2(str, get_number_of_cols() - 8);
+ std::vector<formatted_string> fss;
formatted_string::parse_string_to_multiple(str, fss);
MenuEntry *me;
for (unsigned int j = 0; j < fss.size(); j++)