summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/artefact.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/artefact.cc')
-rw-r--r--crawl-ref/source/artefact.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc
index 9cb254c619..b612ae9226 100644
--- a/crawl-ref/source/artefact.cc
+++ b/crawl-ref/source/artefact.cc
@@ -1226,7 +1226,8 @@ static bool _init_artefact_book(item_def &book)
book.plus2 = plus2;
if (book.sub_type == BOOK_RANDART_LEVEL)
- book_good = make_book_level_randart(book);
+ // The parameters to this call are encoded in book.plus and plus2
+ book_good = make_book_level_randart(book, book.plus, book.plus2);
else
book_good = make_book_theme_randart(book);