diff options
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r-- | crawl-ref/source/beam.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc index c77a23f447..c129785ddc 100644 --- a/crawl-ref/source/beam.cc +++ b/crawl-ref/source/beam.cc @@ -4368,7 +4368,7 @@ void bolt::enchantment_affect_monster(monsters* mon) if (you.religion == GOD_BEOGH && mons_species(mon->type) == MONS_ORC - && mons_is_sleeping(mon) && !player_under_penance() + && mon->asleep() && !player_under_penance() && you.piety >= piety_breakpoint(2) && mons_near(mon)) { hit_woke_orc = true; @@ -4652,7 +4652,7 @@ void bolt::affect_monster(monsters* mon) } if (you.religion == GOD_BEOGH && mons_species(mon->type) == MONS_ORC - && mons_is_sleeping(mon) && YOU_KILL(thrower) + && mon->asleep() && YOU_KILL(thrower) && !player_under_penance() && you.piety >= piety_breakpoint(2) && mons_near(mon)) { |