summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/options.h
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-03-19 02:41:07 -0400
committerNeil Moore <neil@s-z.org>2014-03-19 02:41:07 -0400
commitf421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5 (patch)
treebe888a90eeb6335ef5c58340c59d679abc49d9b6 /crawl-ref/source/options.h
parent13ce0bc76763faa5cf2c6167519e5c1040743480 (diff)
downloadcrawl-ref-f421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5.tar.gz
crawl-ref-f421e69a4b27aebbc629b5f5ebbd8fe66e2a03f5.zip
Show inventory weights only for pickup/drop by default.
Add a third, default, value for show_inventory_weights, to enable weights for pick-up and drop menus only. Ctrl-W continues to toggle weight display in the current menu, but is no longer persistent from one menu to the next.
Diffstat (limited to 'crawl-ref/source/options.h')
-rw-r--r--crawl-ref/source/options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/options.h b/crawl-ref/source/options.h
index fe175dab89..79b329222f 100644
--- a/crawl-ref/source/options.h
+++ b/crawl-ref/source/options.h
@@ -166,7 +166,7 @@ public:
FixedBitVector<NUM_OBJECT_CLASSES> autopickups; // items to autopickup
bool auto_switch; // switch melee&ranged weapons according to enemy range
- bool show_inventory_weights; // show weights in inventory listings
+ maybe_bool show_inventory_weights; // show weights in inventory listings
bool clean_map; // remove unseen clouds/monsters
bool show_uncursed; // label known uncursed items as "uncursed"
bool easy_open; // open doors with movement