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-05-17 11:00:04 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-17 11:00:04 +0000
commit4cac38979dea03c2323e33c854ac1092621edec0 (patch)
tree67d60b98ac2f9cdb379a33a83f4602dabbf9e699 /crawl-ref/source/directn.cc
parentf8c5f8fbe018a1a08538d99a4b9c281a7e69709c (diff)
downloadcrawl-ref-4cac38979dea03c2323e33c854ac1092621edec0.tar.gz
crawl-ref-4cac38979dea03c2323e33c854ac1092621edec0.zip
Fix 2792807: Autoexplore attempting to open doors in bat form.
Fix 2792782: vaults not initialising blood potions properly git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9790 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 b815fa9804..756b9a5e3b 100644
--- a/crawl-ref/source/directn.cc
+++ b/crawl-ref/source/directn.cc
@@ -564,7 +564,7 @@ void full_describe_view()
desc_menu.allow_toggle = true;
// Don't make a menu so tall that we recycle hotkeys on the same page.
- if (list_mons.size() + list_items.size() > 52
+ if (list_mons.size() + list_items.size() + list_features.size() > 52
&& (desc_menu.maxpagesize() > 52 || desc_menu.maxpagesize() == 0))
{
desc_menu.set_maxpagesize(52);