summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 64d2f9190c..1620868e1c 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -1646,7 +1646,7 @@ static bool _tso_blessing_holy_wpn(monsters* mon)
static bool _tso_blessing_holy_arm(monsters* mon)
{
// If a monster has full negative energy resistance, get out.
- if (mons_res_negative_energy(mon) == 3)
+ if (mon->res_negative_energy() == 3)
return (false);
// Pick either a monster's armour or its shield.