diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-26 22:17:15 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-26 22:17:15 +0000 |
commit | a893b18e741d4c8b85731ff03b15d1ff4fdb9d76 (patch) | |
tree | 21fe53b5838df45ad800aac0bc00a0079c5128c9 /crawl-ref/source/enum.h | |
parent | 2d782466ff57f0296e3e0f7601bd47c38a55ef22 (diff) | |
download | crawl-ref-a893b18e741d4c8b85731ff03b15d1ff4fdb9d76.tar.gz crawl-ref-a893b18e741d4c8b85731ff03b15d1ff4fdb9d76.zip |
Mutations cleanup. Fixes [2641583]. Syncing between the various lists
is no longer necessary. However, holes in the mutation numbering will
cause a crash (random2(NUM_MUTATIONS) is used in a few places.)
Breaks saves badly, sorry.
I tested this somewhat but some bugs might have slipped in.
Fixes a few other bugs (e.g. draconians not having any messages
if their wings disappear) and highlights some unused code (e.g.
no way to get the stinger mutation.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9234 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/enum.h')
-rw-r--r-- | crawl-ref/source/enum.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index 567e855c11..5189c24b2f 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -2323,22 +2323,22 @@ enum mutation_type MUT_LOW_MAGIC, // several types of scales (affect AC and sometimes more) - MUT_RED_SCALES = 75, // 75 + MUT_RED_SCALES, MUT_NACREOUS_SCALES, MUT_GREY2_SCALES, MUT_METALLIC_SCALES, MUT_BLACK2_SCALES, - MUT_WHITE_SCALES, // 80 + MUT_WHITE_SCALES, MUT_YELLOW_SCALES, MUT_BROWN_SCALES, MUT_BLUE_SCALES, MUT_PURPLE_SCALES, - MUT_SPECKLED_SCALES, // 85 + MUT_SPECKLED_SCALES, MUT_ORANGE_SCALES, MUT_INDIGO_SCALES, MUT_RED2_SCALES, MUT_IRIDESCENT_SCALES, - MUT_PATTERNED_SCALES, // 90 + MUT_PATTERNED_SCALES, NUM_MUTATIONS, RANDOM_MUTATION = 100, |