diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-06 02:57:11 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-06 02:57:11 +0000 |
commit | 4599e39a2dfc04dd3297674c5779e222e042a221 (patch) | |
tree | 68bece14e012950fedeacdf7347fe166e86d995a /crawl-ref | |
parent | 0fb28d6c1b82e6c10e00c4cc9b946eb010d65017 (diff) | |
download | crawl-ref-4599e39a2dfc04dd3297674c5779e222e042a221.tar.gz crawl-ref-4599e39a2dfc04dd3297674c5779e222e042a221.zip |
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7149 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 475b1fc68f..78a0c00866 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -4906,9 +4906,9 @@ static bool _handle_spell(monsters *monster, bolt &beem) } // Shapeshifters don't get spells. - if ((mons_class_flag(monster->type, M_ACTUAL_SPELLS) - || mons_class_flag(monster->type, M_PRIEST)) - && mons_is_shapeshifter(monster)) + if (mons_is_shapeshifter(monster) + && (mons_class_flag(monster->type, M_ACTUAL_SPELLS) + || mons_class_flag(monster->type, M_PRIEST))) { return (false); } @@ -5385,6 +5385,7 @@ static bool _handle_monster_spell(monsters *monster, bolt &beem) if (_handle_spell(monster, beem)) return (true); } + return (false); } |