summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 0165aa8984..c717e64a2d 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2509,7 +2509,7 @@ static void _generate_book_item(item_def& item, int allow_uniques,
{
do
{
- item.sub_type = random2(NUM_NORMAL_BOOKS);
+ item.sub_type = random2(NUM_FIXED_BOOKS);
if (book_rarity(item.sub_type) != 100
&& one_chance_in(10))