summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.h
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-01-03 18:38:39 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-01-03 19:17:36 +0000
commit16c4a219577c59250b33d5bc75b4b3d2ddca677f (patch)
treefa3e48e08392b0d4dee37ba803d70710cb21ebe9 /crawl-ref/source/mon-info.h
parente89080694b5b4fc912bf1c0fddaf907dce8be76c (diff)
downloadcrawl-ref-16c4a219577c59250b33d5bc75b4b3d2ddca677f.tar.gz
crawl-ref-16c4a219577c59250b33d5bc75b4b3d2ddca677f.zip
Clarify is_spellcaster vs is_caster in monster_info
Diffstat (limited to 'crawl-ref/source/mon-info.h')
-rw-r--r--crawl-ref/source/mon-info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-info.h b/crawl-ref/source/mon-info.h
index a216bcc0c1..f3b500cabe 100644
--- a/crawl-ref/source/mon-info.h
+++ b/crawl-ref/source/mon-info.h
@@ -292,9 +292,9 @@ struct monster_info : public monster_info_base
return mons_class_flag(this->type, M_SPELLCASTER) || this->props.exists("custom_spells");
}
- bool is_caster() const
+ bool is_actual_spellcaster() const
{
- return mons_class_flag(this->type, M_ACTUAL_SPELLS) || this->props.exists("caster");
+ return mons_class_flag(this->type, M_ACTUAL_SPELLS) || this->props.exists("actual_spellcaster");
}
bool is_priest() const