From 5331993d1a4db1a03e36a6860edcad756213973b Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 28 Nov 2008 23:07:05 +0000 Subject: * Add icons for weapon brands, mostly borrowing from potions/wands and with a few new creations. :) * Move tiles for unrandarts and fixedarts into artefact/ subfolders. * Move the Knife of Accuracy into the unrandart list. * Add a lab vault containing a hungry ghost (maybe should be rarer). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7680 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemname.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/itemname.cc') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index b13d633ed0..a12e1c7804 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1030,11 +1030,13 @@ std::string item_def::name_aux( description_level_type desc, } if (!basename && !dbname && know_racial) - // always give racial type (it does have game effects) + { + // Always give racial type (it does have game effects). buff << racial_description_string(*this, terse); + } - if (know_brand && !terse && - (get_weapon_brand(*this) == SPWPN_VAMPIRICISM)) + if (know_brand && !terse + && get_weapon_brand(*this) == SPWPN_VAMPIRICISM) { buff << "vampiric "; } -- cgit v1.2.3-54-g00ecf