summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-06-03 01:28:39 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-06-03 01:55:17 -0400
commit51bfb8de72b7fe848c31fa6ce10e2c94b959eb64 (patch)
tree0489dd7dd6fee1707b7188e776f79ba8f81b6a6e /crawl-ref/source/tags.cc
parent4e31f848abaaeb808b4209e9437f320d755b01c0 (diff)
downloadcrawl-ref-51bfb8de72b7fe848c31fa6ce10e2c94b959eb64.tar.gz
crawl-ref-51bfb8de72b7fe848c31fa6ce10e2c94b959eb64.zip
Replace some you.mutaiton[] calls with player_mutation_level()
It's still inconsistant, but at least some more non setting uses are now using player_mutation_level().
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 760737843f..1c92431229 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -2550,11 +2550,11 @@ static void tag_read_you(reader &th)
// was, so when TAG_MINOR_NO_DEVICE_HEAL was added
// these were all moved to only apply to previous
// tags.
- if (you.mutation[MUT_TELEPORT_CONTROL] == 1)
+ if (player_mutation_level(MUT_TELEPORT_CONTROL) == 1)
you.mutation[MUT_TELEPORT_CONTROL] = 0;
if (you.mutation[MUT_TRAMPLE_RESISTANCE] > 0)
you.mutation[MUT_TRAMPLE_RESISTANCE] = 0;
- if (you.mutation[MUT_CLING] == 1)
+ if (player_mutation_level(MUT_CLING) == 1)
you.mutation[MUT_CLING] = 0;
if (you.species == SP_GARGOYLE)
{