summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-24 16:13:54 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-24 16:13:54 +0000
commit9e0e937aa69c91a0b299a8f561564776bf2ab153 (patch)
tree518a1d46db4280ac5bfd7dce034f0ebc62a251a4 /crawl-ref/source/itemname.cc
parent9bec932ccdd73db4bab274c36acf0cb9de818b88 (diff)
downloadcrawl-ref-9e0e937aa69c91a0b299a8f561564776bf2ab153.tar.gz
crawl-ref-9e0e937aa69c91a0b299a8f561564776bf2ab153.zip
Fix 1923913: blood spattering into fountains
Fix 1923487: jewelled helmets getting the "jewelled" randart description Fix 1923471: Suppress the beholding message if only attacking. Also remove ARM_HELM since it's identical in every way with ARM_HELMET and only serves to confuse coders. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3858 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 7343c726ef..f17b412a85 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1219,14 +1219,13 @@ std::string item_def::name_aux( description_level_type desc,
{
const short dhelm = get_helmet_desc( *this );
- buff <<
- (
- (dhelm == THELM_DESC_PLAIN) ? "" :
- (dhelm == THELM_DESC_WINGED) ? "winged " :
- (dhelm == THELM_DESC_HORNED) ? "horned " :
+ buff <<
+ ((dhelm == THELM_DESC_PLAIN) ? "" :
+ (dhelm == THELM_DESC_WINGED) ? "winged " :
+ (dhelm == THELM_DESC_HORNED) ? "horned " :
(dhelm == THELM_DESC_CRESTED) ? "crested " :
- (dhelm == THELM_DESC_PLUMED) ? "plumed " :
- (dhelm == THELM_DESC_SPIKED) ? "spiked " :
+ (dhelm == THELM_DESC_PLUMED) ? "plumed " :
+ (dhelm == THELM_DESC_SPIKED) ? "spiked " :
(dhelm == THELM_DESC_VISORED) ? "visored " :
(dhelm == THELM_DESC_JEWELLED) ? "jewelled "
: "buggy ");