From 8c9938f88a6e11f10916a360804bd4bd8516a278 Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Sun, 3 Jan 2010 23:20:00 +1000 Subject: Branded and positively enchanted missiles are "glowing". (Eronarn) --- crawl-ref/source/itemname.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'crawl-ref/source/itemname.cc') diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc index d2a9bbdfdf..beda8a3e5a 100644 --- a/crawl-ref/source/itemname.cc +++ b/crawl-ref/source/itemname.cc @@ -1140,6 +1140,17 @@ std::string item_def::name_aux(description_level_type desc, } + if (know_cosmetic && !know_brand) + { + switch (get_equip_desc(*this)) + { + case ISFLAG_GLOWING: + if (!testbits(ignore_flags, ISFLAG_GLOWING)) + buff << "glowing "; + break; + } + } + if (know_pluses) { output_with_sign(buff, it_plus); -- cgit v1.2.3-54-g00ecf