From c51c56772b5053ce732de004c722f6edca6a8982 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Mon, 12 Oct 2009 07:41:40 -0500 Subject: Comment fixes. --- crawl-ref/source/artefact.cc | 4 ++-- crawl-ref/source/spl-book.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source') diff --git a/crawl-ref/source/artefact.cc b/crawl-ref/source/artefact.cc index b612ae9226..a1e557b0c9 100644 --- a/crawl-ref/source/artefact.cc +++ b/crawl-ref/source/artefact.cc @@ -1214,7 +1214,7 @@ static bool _init_artefact_book(item_def &book) god_type god; bool redo = (!origin_is_god_gift(book, &god) || god != GOD_XOM); - // Plus and plus2 contain parameters to make_book_foo_randart() + // Plus and plus2 contain parameters to make_book_foo_randart(), // which might get changed after the book has been made into a // randart, so reset them on each iteration of the loop. int plus = book.plus; @@ -1226,7 +1226,7 @@ static bool _init_artefact_book(item_def &book) book.plus2 = plus2; if (book.sub_type == BOOK_RANDART_LEVEL) - // The parameters to this call are encoded in book.plus and plus2 + // The parameters to this call are in book.plus and plus2. book_good = make_book_level_randart(book, book.plus, book.plus2); else book_good = make_book_theme_randart(book); diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc index 33087ddb77..c3562ab0aa 100644 --- a/crawl-ref/source/spl-book.cc +++ b/crawl-ref/source/spl-book.cc @@ -2252,7 +2252,7 @@ bool make_book_level_randart(item_def &book, int level, int num_spells, return (make_item_randart(book)); } - // Being called from make_item_randart() + // Being called from make_item_randart(). ASSERT(book.sub_type == BOOK_RANDART_LEVEL); // Re-read owner, if applicable. -- cgit v1.2.3-54-g00ecf