summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/invent.cc')
-rw-r--r--crawl-ref/source/invent.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc
index ebbf6a6bf0..25da2931c9 100644
--- a/crawl-ref/source/invent.cc
+++ b/crawl-ref/source/invent.cc
@@ -217,7 +217,7 @@ void InvMenu::set_title(const std::string &s)
std::string stitle = s;
if (stitle.empty())
{
- const int cap = carrying_capacity();
+ const int cap = carrying_capacity(BS_UNENCUMBERED);
char title_buf[200];
snprintf( title_buf, sizeof title_buf,