summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index 484ac98528..c400cbf099 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -2300,7 +2300,7 @@ bool make_book_level_randart(item_def &book, int level, int num_spells,
name += bookname;
- set_randart_name(book, name);
+ set_artefact_name(book, name);
return (true);
}
@@ -2899,7 +2899,7 @@ bool make_book_theme_randart(item_def &book, int disc1, int disc2,
}
}
- set_randart_name(book, name);
+ set_artefact_name(book, name);
book.plus = disc1;
book.plus2 = disc2;