diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-12 07:41:40 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-10-12 07:41:40 -0500 |
commit | c51c56772b5053ce732de004c722f6edca6a8982 (patch) | |
tree | c54e3bec7ee9bc58864b645374bf0583b3e7ebe7 /crawl-ref | |
parent | aa6a5a0787c1541de81b1f027adc3089a9c8bbc5 (diff) | |
download | crawl-ref-c51c56772b5053ce732de004c722f6edca6a8982.tar.gz crawl-ref-c51c56772b5053ce732de004c722f6edca6a8982.zip |
Comment fixes.
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/artefact.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/spl-book.cc | 2 |
2 files changed, 3 insertions, 3 deletions
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. |