summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 656b2a640f..944ac5604e 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -1609,8 +1609,7 @@ static void tag_construct_level(tagHeader &th)
marshallByte(th, env.shop[i].level);
}
- marshallByte(th, env.sanctuary_x);
- marshallByte(th, env.sanctuary_y);
+ marshallCoord(th, env.sanctuary_pos);
marshallByte(th, env.sanctuary_time);
env.markers.write(th);
@@ -1850,8 +1849,7 @@ static void tag_read_level( tagHeader &th, char minorVersion )
env.shop[i].level = unmarshallByte(th);
}
- env.sanctuary_x = unmarshallByte(th);
- env.sanctuary_y = unmarshallByte(th);
+ unmarshallCoord(th, env.sanctuary_pos);
env.sanctuary_time = unmarshallByte(th);
env.markers.read(th);