From a893b18e741d4c8b85731ff03b15d1ff4fdb9d76 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 26 Feb 2009 22:17:15 +0000 Subject: 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 --- crawl-ref/source/enum.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'crawl-ref/source/enum.h') 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, -- cgit v1.2.3-54-g00ecf