diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-07-12 15:53:48 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-07-29 19:56:47 -0400 |
commit | 08613ce6a0906fc054a4051a1a66c200d638d132 (patch) | |
tree | 3cb0eb0b4212e8896941f42bfbb940bb67c5086a /crawl-ref/source/tags.cc | |
parent | 4dcdddd065607d1886704654ee0f69e17b915ac6 (diff) | |
download | crawl-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.cc | 9 |
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); |