diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-13 18:46:06 -0600 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-11-13 18:46:06 -0600 |
commit | d0a94abb9815bb0b708ba7c4c2c84880d72ad19e (patch) | |
tree | 60505110c0dbe8eb45ab92236bb83600e79da6e9 | |
parent | 93d0d5a9026642c1fd5f2d64c5aaa061ab99e459 (diff) | |
download | crawl-ref-d0a94abb9815bb0b708ba7c4c2c84880d72ad19e.tar.gz crawl-ref-d0a94abb9815bb0b708ba7c4c2c84880d72ad19e.zip |
Fix misplaced parentheses.
-rw-r--r-- | crawl-ref/source/goditem.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/goditem.cc b/crawl-ref/source/goditem.cc index cfe29fcd8f..7711153cfe 100644 --- a/crawl-ref/source/goditem.cc +++ b/crawl-ref/source/goditem.cc @@ -532,7 +532,7 @@ conduct_type god_hates_item_handling(const item_def &item) if (item_type_known(item) && (god_hates_spellbook(item) || god_hates_rod(item))) { - return (NUM_CONDUCTS); // FIXME: get the specific reason, if it + return (NUM_CONDUCTS); // FIXME: Get the specific reason, if it } // will ever be needed for spellbooks. return (DID_NOTHING); @@ -605,9 +605,9 @@ bool god_dislikes_spell_type(spell_type spell, god_type god) break; case GOD_XOM: - // Ideally, Xom would only like spells which have a random effect, - // are risky to use, or would otherwise amuse him, but that would - // be a really small number of spells. + // Ideally, Xom would only like spells which have a random + // effect, are risky to use, or would otherwise amuse him, but + // that would be a really small number of spells. // Xom would probably find these extra boring. if (flags & (SPFLAG_HELPFUL | SPFLAG_NEUTRAL | SPFLAG_ESCAPE @@ -661,7 +661,7 @@ bool god_dislikes_spell_discipline(int discipline, god_type god) case GOD_XOM: return (is_holy_discipline(discipline) - || discipline & (SPTYP_DIVINATION)); + || (discipline & SPTYP_DIVINATION)); case GOD_ELYVILON: return (discipline & (SPTYP_CONJURATION | SPTYP_SUMMONING)); |