summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.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/items.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/items.cc')
-rw-r--r--crawl-ref/source/items.cc2
1 files changed, 1 insertions, 1 deletions
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();