diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-05-26 07:43:43 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-05-26 08:20:32 +0200 |
commit | 3b50b19d909d12ac1a11b1b0bd5d0b8c86423815 (patch) | |
tree | a6b423e14ca28eb3e361c24003189a1ca503dcc3 /crawl-ref/source/zotdef.cc | |
parent | dce090dbc69ac64223ddb59ddf22e94132f219d1 (diff) | |
download | crawl-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.cc | 2 |
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; |