diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:37:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-03 06:37:43 +0000 |
commit | a59ecb47aaf7a31776f383446c9b5f2788f42d98 (patch) | |
tree | 11dbb488dfc35980c1bccf9314c8ec65b69e1965 /crawl-ref/source/mon-util.h | |
parent | 55e422bf9dcda3c8515848e84e079da6dc9a9ad9 (diff) | |
download | crawl-ref-a59ecb47aaf7a31776f383446c9b5f2788f42d98.tar.gz crawl-ref-a59ecb47aaf7a31776f383446c9b5f2788f42d98.zip |
Expand the setting of spell_type in mgen_data to include all
monster-creating spells, and avoid assertion failures caused by setting
an abjuration duration of 0 and a spell_type to something other than 0.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8162 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-util.h')
-rw-r--r-- | crawl-ref/source/mon-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-util.h b/crawl-ref/source/mon-util.h index fad483a5be..7ce3388565 100644 --- a/crawl-ref/source/mon-util.h +++ b/crawl-ref/source/mon-util.h @@ -85,8 +85,8 @@ enum mon_attack_flavour AF_STEAL_FOOD }; -// Non-spell "summoning" types to give to monsters::mark_summoned(), or as -// the fourth parameter of mgen_data's second constructor. +// Non-spell "summoning" types to give to monsters::mark_summoned(), or +// as the fourth parameter of mgen_data's constructor. // // Negative values since spells are non-negative. enum mon_summon_type |