summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 6c65a4a923..737a5bce24 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1605,7 +1605,7 @@ int monster_die(monsters *monster, killer_type killer,
|| (!created_friendly && gives_xp
&& (you.religion == GOD_MAKHLEB
|| you.religion == GOD_SHINING_ONE
- && mons_is_evil_or_unholy(monster))
+ && monster->is_evil())
&& !player_under_penance()
&& random2(you.piety) >= piety_breakpoint(0)))
{
@@ -1621,7 +1621,7 @@ int monster_die(monsters *monster, killer_type killer,
&& (you.religion == GOD_MAKHLEB
|| you.religion == GOD_VEHUMET
|| you.religion == GOD_SHINING_ONE
- && mons_is_evil_or_unholy(monster))
+ && monster->is_evil())
&& !player_under_penance()
&& random2(you.piety) >= piety_breakpoint(0))
{
@@ -1836,7 +1836,7 @@ int monster_die(monsters *monster, killer_type killer,
}
if (you.religion == GOD_SHINING_ONE
- && mons_is_evil_or_unholy(monster)
+ && monster->is_evil()
&& !player_under_penance()
&& random2(you.piety) >= piety_breakpoint(0)
&& !invalid_monster_index(killer_index))