summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-07-26 22:35:48 -0400
committerNeil Moore <neil@s-z.org>2014-07-26 22:36:58 -0400
commitebbff481bc02d783952a9eebd4f051b95f40f2c5 (patch)
tree00de905f25957f8f9a8abed61ef46aa36ae23faa /crawl-ref/source/tags.cc
parent77b79c837636ff8c31a8d89070e15f4ea960873f (diff)
downloadcrawl-ref-ebbff481bc02d783952a9eebd4f051b95f40f2c5.tar.gz
crawl-ref-ebbff481bc02d783952a9eebd4f051b95f40f2c5.zip
Further rename you.mp_max_*.
Because mp_max_temp is in fact permanent.
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 4489ac1577..d1163e6659 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1342,8 +1342,8 @@ static void tag_construct_you(writer &th)
marshallShort(th, you.hp_max_adj_temp);
marshallShort(th, you.hp_max_adj_perm);
- marshallShort(th, you.mp_max_adj_temp);
- marshallShort(th, you.mp_max_adj_perm);
+ marshallShort(th, you.mp_max_adj);
+ marshallShort(th, you.mp_max_adj_base);
marshallShort(th, you.pos().x);
marshallShort(th, you.pos().y);
@@ -2216,8 +2216,8 @@ static void tag_read_you(reader &th)
you.hp_max_adj_temp = unmarshallShort(th);
you.hp_max_adj_perm = unmarshallShort(th);
- you.mp_max_adj_temp = unmarshallShort(th);
- you.mp_max_adj_perm = unmarshallShort(th);
+ you.mp_max_adj = unmarshallShort(th);
+ you.mp_max_adj_base = unmarshallShort(th);
#if TAG_MAJOR_VERSION == 34
if (th.getMinorVersion() < TAG_MINOR_CLASS_HP_0)
you.hp_max_adj_perm -= 8;