diff options
-rw-r--r-- | crawl-ref/docs/options_guide.txt | 2 | ||||
-rw-r--r-- | crawl-ref/source/invent.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/docs/options_guide.txt b/crawl-ref/docs/options_guide.txt index c11d65026f..c659e67b8c 100644 --- a/crawl-ref/docs/options_guide.txt +++ b/crawl-ref/docs/options_guide.txt @@ -1232,6 +1232,8 @@ delay_message_clear = false show_inventory_weights = false When this is set to true, inventory listings will mention the weight of each item. + Note: This option doesn't currently work for Tiles unless you use + tile_menu_icons = false. show_gold_turns = false If set to true, this option adds an extra line to the stat area diff --git a/crawl-ref/source/invent.cc b/crawl-ref/source/invent.cc index 834527fc5a..3c89d39f14 100644 --- a/crawl-ref/source/invent.cc +++ b/crawl-ref/source/invent.cc @@ -218,7 +218,7 @@ std::string InvEntry::get_text() const if (Options.show_inventory_weights) { const int mass = item_mass(*item) * item->quantity; - tstr << std::setw(get_number_of_cols() - tstr.str().length() - 1) + tstr << std::setw(get_number_of_cols() - tstr.str().length() - 2) << std::right << make_stringf("(%.1f aum)", BURDEN_TO_AUM * mass); } |