summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 612de87d5b..6d5b42bf67 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -2905,7 +2905,7 @@ void get_monster_db_desc(const monsters& mons, describe_info &inf,
inf.quote += quote2;
#if DEBUG_DIAGNOSTICS
- if (mons_class_flag( mons.type, M_SPELLCASTER ))
+ if (mons.can_use_spells())
{
const monster_spells &hspell_pass = mons.spells;
bool found_spell = false;