summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/invent.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 08:35:43 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-01-09 08:35:43 +0000
commitbca7bf95401a93f8dfff4595a4d106c03e4d42b1 (patch)
tree47308fff6b4064a84524f78f69301c40eb0d4560 /crawl-ref/source/invent.cc
parentd89f54beb24a690bed53501c7f29413b6d140946 (diff)
downloadcrawl-ref-bca7bf95401a93f8dfff4595a4d106c03e4d42b1.tar.gz
crawl-ref-bca7bf95401a93f8dfff4595a4d106c03e4d42b1.zip
[1629452] Show unburdened carrying capacity. Weights exceeding this will show
up as >100%, which is fine by me. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@810 c06c8d41-db1a-0410-9941-cceddc491573
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,