summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 15aaf56c80..c2d54f9c7c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -858,7 +858,7 @@ bool melee_attack::player_attack()
bool hit_woke_orc = false;
if (you.religion == GOD_BEOGH
&& defender->mons_species() == MONS_ORC
- && !mons_is_summoned(defender_as_monster())
+ && !defender->is_summoned()
&& !mons_is_shapeshifter(defender_as_monster())
&& !player_under_penance() && you.piety >= piety_breakpoint(2)
&& mons_near(defender_as_monster()) && defender->asleep())
@@ -4678,6 +4678,7 @@ void melee_attack::mons_perform_attack_rounds()
bleed_onto_floor(pos, type, blood, true);
}
+
if (decapitate_hydra(damage_done,
attacker->damage_type(attack_number)))
{