diff options
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r-- | crawl-ref/source/wiz-mon.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc index ce43e02d8f..bee9d14427 100644 --- a/crawl-ref/source/wiz-mon.cc +++ b/crawl-ref/source/wiz-mon.cc @@ -1180,7 +1180,7 @@ void debug_miscast( int target_index ) } } - if (school == SPTYP_HOLY || (disciplines & SPTYP_HOLY)) + if (is_holy_spell(spell)) { mpr("Can't miscast holy spells."); return; |