From eb8ca2e8a7d5cb4c319715fabbc7864d3ce86d41 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 20 Sep 2009 15:43:55 +0000 Subject: Add minor cosmetic fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10746 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/beam.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'crawl-ref/source/beam.cc') 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); } -- cgit v1.2.3-54-g00ecf