From 4915a3d61f5c92669121713d4744fb60036dac2f Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 7 Nov 2009 22:24:48 -0600 Subject: Remove mons_is_holy(), as it's redundant. --- crawl-ref/source/fight.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 0b51df6ad6..a928168445 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -2338,7 +2338,7 @@ void melee_attack::chaos_affects_defender() const bool immune = mon && mons_immune_magic(defender_as_monster()); const bool is_natural = mon && defender->holiness() == MH_NATURAL; const bool is_shifter = mon && mons_is_shapeshifter(defender_as_monster()); - const bool can_clone = mon && !mons_is_holy(defender_as_monster()) + const bool can_clone = mon && defender->holiness() == MH_HOLY && mons_clonable(defender_as_monster(), true); const bool can_poly = is_shifter || (defender->can_safely_mutate() && !immune); -- cgit v1.2.3-54-g00ecf