summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mon-cast.cc')
-rw-r--r--crawl-ref/source/mon-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mon-cast.cc b/crawl-ref/source/mon-cast.cc
index 0e36894d11..f5773bd9cd 100644
--- a/crawl-ref/source/mon-cast.cc
+++ b/crawl-ref/source/mon-cast.cc
@@ -984,7 +984,7 @@ bool handle_mon_spell(monsters *monster, bolt &beem)
}
// Shapeshifters don't get spells.
- if (mons_is_shapeshifter(monster) && (priest || wizard))
+ if (monster->is_shapeshifter() && (priest || wizard))
return (false);
else if (monster->has_ench(ENCH_CONFUSION)
&& !mons_class_flag(monster->type, M_CONFUSED))