summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/invent.cc2
-rw-r--r--crawl-ref/source/items.cc2
2 files changed, 2 insertions, 2 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,
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index 1f2b344bf1..8db00d95c8 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1798,7 +1798,7 @@ bool drop_item( int item_dropped, int quant_drop ) {
static std::string drop_menu_invstatus(const Menu *menu)
{
char buf[100];
- const int cap = carrying_capacity();
+ const int cap = carrying_capacity(BS_UNENCUMBERED);
std::string s_newweight;
std::vector<MenuEntry*> se = menu->selected_entries();