summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc14
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);
}