summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/zotdef.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-05-26 07:43:43 +0200
committerAdam Borowski <kilobyte@angband.pl>2013-05-26 08:20:32 +0200
commit3b50b19d909d12ac1a11b1b0bd5d0b8c86423815 (patch)
treea6b423e14ca28eb3e361c24003189a1ca503dcc3 /crawl-ref/source/zotdef.cc
parentdce090dbc69ac64223ddb59ddf22e94132f219d1 (diff)
downloadcrawl-ref-3b50b19d909d12ac1a11b1b0bd5d0b8c86423815.tar.gz
crawl-ref-3b50b19d909d12ac1a11b1b0bd5d0b8c86423815.zip
A monster flag M_CANT_SPAWN, to mark dummy monsters.
Genus-only, recolouring, etc. Not for "dummies" which are valid monsters otherwise. This is mostly redundant with M_NO_POLY_TO which it implies, for now.
Diffstat (limited to 'crawl-ref/source/zotdef.cc')
-rw-r--r--crawl-ref/source/zotdef.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/zotdef.cc b/crawl-ref/source/zotdef.cc
index c48d52a00c..b99a791738 100644
--- a/crawl-ref/source/zotdef.cc
+++ b/crawl-ref/source/zotdef.cc
@@ -572,7 +572,7 @@ static monster_type _get_zotdef_monster(level_id &place, int power)
continue; // sanity
if (mentry == get_monster_data(MONS_PROGRAM_BUG))
continue; // sanity
- if (mons_class_flag(mon_type, M_NO_POLY_TO))
+ if (mons_class_flag(mon_type, M_NO_POLY_TO | M_CANT_SPAWN))
continue;
if (mons_class_flag(mon_type, M_UNFINISHED))
continue;