diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 15:43:55 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-09-20 15:43:55 +0000 |
commit | eb8ca2e8a7d5cb4c319715fabbc7864d3ce86d41 (patch) | |
tree | 977b6437987247cfe428873e6b1083efaebaf8a6 /crawl-ref/source/beam.cc | |
parent | 27620797903222c8615161ac9b5434e89163307e (diff) | |
download | crawl-ref-eb8ca2e8a7d5cb4c319715fabbc7864d3ce86d41.tar.gz crawl-ref-eb8ca2e8a7d5cb4c319715fabbc7864d3ce86d41.zip |
Add minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10746 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index d61e4cd1f8..b3a4c334e0 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -5732,13 +5732,6 @@ bool bolt::nasty_to(const monsters *mon) const // actively positive. bool bolt::nice_to(const monsters *mon) const { - if (flavour == BEAM_HASTE - || flavour == BEAM_HEALING - || flavour == BEAM_INVISIBILITY) - { - return (true); - } - // Polymorphing a (very) ugly thing will mutate it into a different // (very) ugly thing. if (flavour == BEAM_POLYMORPH) @@ -5747,6 +5740,13 @@ bool bolt::nice_to(const monsters *mon) const || mon->type == MONS_VERY_UGLY_THING); } + if (flavour == BEAM_HASTE + || flavour == BEAM_HEALING + || flavour == BEAM_INVISIBILITY) + { + return (true); + } + return (false); } |