summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-info.cc
diff options
context:
space:
mode:
authorChris Campbell <chriscampbell89@gmail.com>2014-01-03 18:32:10 +0000
committerChris Campbell <chriscampbell89@gmail.com>2014-01-03 19:17:35 +0000
commite89080694b5b4fc912bf1c0fddaf907dce8be76c (patch)
treeda865fabbad3f8c32e614ca8d47bb989554acc74 /crawl-ref/source/mon-info.cc
parentbe324a1e5c4e69e3724dfa7b67ae6159c3906a00 (diff)
downloadcrawl-ref-e89080694b5b4fc912bf1c0fddaf907dce8be76c.tar.gz
crawl-ref-e89080694b5b4fc912bf1c0fddaf907dce8be76c.zip
Don't crash on vault-defined spellcasters that aren't priests/actual casters
Diffstat (limited to 'crawl-ref/source/mon-info.cc')
-rw-r--r--crawl-ref/source/mon-info.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-info.cc b/crawl-ref/source/mon-info.cc
index 874131f9c6..904fe64c47 100644
--- a/crawl-ref/source/mon-info.cc
+++ b/crawl-ref/source/mon-info.cc
@@ -689,8 +689,6 @@ monster_info::monster_info(const monster* m, int milev)
this->props["priest"] = true;
else if (m->is_actual_spellcaster())
this->props["caster"] = true;
- else
- this->props[""] = true;
}
for (unsigned i = 0; i <= MSLOT_LAST_VISIBLE_SLOT; ++i)