summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-07-12 15:53:48 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-07-29 19:56:47 -0400
commit08613ce6a0906fc054a4051a1a66c200d638d132 (patch)
tree3cb0eb0b4212e8896941f42bfbb940bb67c5086a /crawl-ref/source/tags.cc
parent4dcdddd065607d1886704654ee0f69e17b915ac6 (diff)
downloadcrawl-ref-08613ce6a0906fc054a4051a1a66c200d638d132.tar.gz
crawl-ref-08613ce6a0906fc054a4051a1a66c200d638d132.zip
Remove fast/slow metabolism mutations from random generation (wheals)
Normally these mutations could be completely ignored when they randomly generated.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 1916e720ad..1503bd3e43 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -2670,6 +2670,15 @@ static void tag_read_you(reader &th)
you.innate_mutation[MUT_FLAME_CLOUD_IMMUNITY] = 1;
}
}
+
+ if (th.getMinorVersion() < TAG_MINOR_METABOLISM)
+ {
+ you.mutation[MUT_FAST_METABOLISM] =
+ you.innate_mutation[MUT_FAST_METABOLISM];
+
+ you.mutation[MUT_SLOW_METABOLISM] =
+ you.innate_mutation[MUT_SLOW_METABOLISM];
+ }
#endif
count = unmarshallUByte(th);