From 7fcfce7d250e09f85bc09f9e720dda5cf723e68e Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 29 Dec 2008 11:11:32 +0000 Subject: * Dump spells contained in randart spellbooks, marking memorised spells with an asterisk. * Sif Muna no longer gifts the books specific to Kiku and Vehumet (Necronomicon, Annihilations, Demonology) though the spells contained there-in may crop up in randart books. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8011 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/randart.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/randart.cc') diff --git a/crawl-ref/source/randart.cc b/crawl-ref/source/randart.cc index 482d732e12..0ba286f991 100644 --- a/crawl-ref/source/randart.cc +++ b/crawl-ref/source/randart.cc @@ -1153,7 +1153,7 @@ static bool _init_randart_book(item_def &book) ASSERT(book.plus != 0); god_type god; - bool redo = !origin_is_god_gift(book, &god) || god != GOD_XOM; + bool redo = (!origin_is_god_gift(book, &god) || god != GOD_XOM); // Plus and plus2 contain paramaters to make_book_foo_randart() // which might get changed after the book has been made into a @@ -2110,7 +2110,7 @@ bool make_item_randart( item_def &item ) } } - // This already is a randart. + // This item already is a randart. if (item.flags & ISFLAG_RANDART) return (true); -- cgit v1.2.3-54-g00ecf