summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/items.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/items.cc')
-rw-r--r--crawl-ref/source/items.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/crawl-ref/source/items.cc b/crawl-ref/source/items.cc
index be498dfb6d..cdaf9f4d97 100644
--- a/crawl-ref/source/items.cc
+++ b/crawl-ref/source/items.cc
@@ -1020,9 +1020,7 @@ static std::string origin_monster_name(const item_def &item)
return ("a player ghost");
else if (monnum == MONS_PANDEMONIUM_DEMON)
return ("a demon");
- char monnamebuf[ITEMNAME_SIZE]; // Le sigh.
- moname(monnum, true, DESC_NOCAP_A, monnamebuf);
- return (monnamebuf);
+ return mons_type_name(monnum, DESC_NOCAP_A);
}
static std::string origin_monster_desc(const item_def &item)