summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemname.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/itemname.cc')
-rw-r--r--crawl-ref/source/itemname.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/itemname.cc b/crawl-ref/source/itemname.cc
index f25bd8f34f..224eb31dca 100644
--- a/crawl-ref/source/itemname.cc
+++ b/crawl-ref/source/itemname.cc
@@ -1053,7 +1053,7 @@ std::string item_def::name_aux( description_level_type desc,
if (is_random_artefact( *this ) && !dbname)
{
- buff << randart_name(*this);
+ buff << get_randart_name(*this);
break;
}
@@ -1166,7 +1166,7 @@ std::string item_def::name_aux( description_level_type desc,
// When asking for the base item name, randartism is ignored.
if (is_random_artefact( *this ) && !basename && !dbname)
{
- buff << randart_name(*this);
+ buff << get_randart_name(*this);
break;
}
@@ -1409,7 +1409,7 @@ std::string item_def::name_aux( description_level_type desc,
if (is_randart && !dbname)
{
- buff << randart_name(*this);
+ buff << get_randart_name(*this);
break;
}