diff options
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index eb435b17bd..2aba3fca11 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -2310,6 +2310,10 @@ static void _do_god_gift(bool prayed_for) if (thing_created == NON_ITEM) return; + // Mark the book type as known to avoid duplicate gifts + // if players don't read their gifts for some reason + mark_had_book(gift); + move_item_to_grid( &thing_created, you.pos() ); if (thing_created != NON_ITEM) |