summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/delay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/delay.cc')
-rw-r--r--crawl-ref/source/delay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/delay.cc b/crawl-ref/source/delay.cc
index 5914aa4e5d..c5854a5fad 100644
--- a/crawl-ref/source/delay.cc
+++ b/crawl-ref/source/delay.cc
@@ -105,7 +105,7 @@ static int _recite_to_monsters(coord_def where, int pow, int, actor *)
resist = std::max(0, 7 - random2(you.skills[SK_INVOCATIONS]));
else
{
- resist = mons_resist_magic(mon);
+ resist = mon->res_magic();
if (holiness == MH_UNDEAD)
pow -= 2 + random2(3);