summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/direct.cc2
-rw-r--r--crawl-ref/source/itemname.cc12
2 files changed, 8 insertions, 6 deletions
diff --git a/crawl-ref/source/direct.cc b/crawl-ref/source/direct.cc
index d59f2a2f9b..73c204f1b6 100644
--- a/crawl-ref/source/direct.cc
+++ b/crawl-ref/source/direct.cc
@@ -1504,7 +1504,7 @@ void describe_floor()
channel = MSGCH_EXAMINE_FILTER;
}
mpr((prefix + feat + suffix).c_str(), channel);
- if (grid == DNGN_ENTER_LABYRINTH)
+ if (grid == DNGN_ENTER_LABYRINTH && you.is_undead != US_UNDEAD)
mpr("Beware, for starvation awaits!", MSGCH_EXAMINE);
}
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index 76d660a1bc..2c87e39c97 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1270,11 +1270,13 @@ std::string item_def::name_aux( description_level_type desc,
if (know_pluses)
buff << " (" << it_plus << ")";
- else if (item_plus2 == ZAPCOUNT_EMPTY)
- buff << " {empty}";
- else if (item_plus2 > 0)
- buff << " {zapped: " << item_plus2
- << '}';
+ else if (!dbname)
+ {
+ if (item_plus2 == ZAPCOUNT_EMPTY)
+ buff << " {empty}";
+ else if (item_plus2 > 0)
+ buff << " {zapped: " << item_plus2 << '}';
+ }
break;
case OBJ_POTIONS: