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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index a3a67393b9..1f9cb7b05d 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1534,7 +1534,7 @@ int monster_die(monsters *monster, killer_type killer,
did_god_conduct(DID_KILL_LIVING,
monster->hit_dice, true, monster);
- if (mons_is_evil(monster))
+ if (monster->is_evil())
{
did_god_conduct(DID_KILL_NATURAL_EVIL,
monster->hit_dice, true, monster);
@@ -1778,7 +1778,7 @@ int monster_die(monsters *monster, killer_type killer,
notice |= did_god_conduct(DID_LIVING_KILLED_BY_SERVANT,
monster->hit_dice);
- if (mons_is_evil(monster))
+ if (monster->is_evil())
{
notice |= did_god_conduct(
DID_NATURAL_EVIL_KILLED_BY_SERVANT,