summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 8f62376770..4126748058 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -859,7 +859,7 @@ static void _mark_starting_books()
{
for (int i = 0; i < ENDOFPACK; i++)
if (is_valid_item(you.inv[i]) && you.inv[i].base_type == OBJ_BOOKS)
- mark_had_book(you.inv[i].sub_type);
+ mark_had_book(you.inv[i]);
}
static void _racialise_starting_equipment()