summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 1e993a65bd..f65f5b864f 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2067,7 +2067,11 @@ void describe_monsters(monsters& mons)
}
std::ostringstream description;
- description << mons.name(DESC_CAP_A) << "$$";
+ std::string name = get_unique_monster_name(&mons);
+ if (name.empty())
+ name = mons.name(DESC_CAP_A);
+
+ description << name << "$$";
// Note: Nearly all of the "long" descriptions have moved to
// mon-data.h, in an effort to give them some locality with the