diff options
Diffstat (limited to 'crawl-ref/source/mon-util.cc')
-rw-r--r-- | crawl-ref/source/mon-util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-util.cc b/crawl-ref/source/mon-util.cc index 5f4748cb0d..94a0ffbc2f 100644 --- a/crawl-ref/source/mon-util.cc +++ b/crawl-ref/source/mon-util.cc @@ -1759,6 +1759,9 @@ static std::string _str_monam(const monsters& mon, description_level_type desc, return item.name(desc, false, false, use_inscrip, false, ignore_flags); } + if (desc == DESC_DBNAME) + return get_monster_data(mon.type)->name; + if (mon.type == MONS_PLAYER_GHOST) return apostrophise(mon.mname) + " ghost"; |