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.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index cc0e1648d9..8972af6cc0 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -726,6 +726,7 @@ static void tag_construct_you(struct tagHeader &th)
marshallByte(th,you.special_wield);
marshallByte(th,you.berserk_penalty);
marshallByte(th,you.level_type);
+ marshallString(th, you.level_type_name);
marshallByte(th,you.synch_time);
marshallByte(th,you.disease);
marshallByte(th,you.species);
@@ -1032,6 +1033,7 @@ static void tag_read_you(struct tagHeader &th, char minorVersion)
you.special_wield = unmarshallByte(th);
you.berserk_penalty = unmarshallByte(th);
you.level_type = static_cast<level_area_type>( unmarshallByte(th) );
+ you.level_type_name = unmarshallString(th);
you.synch_time = unmarshallByte(th);
you.disease = unmarshallByte(th);
you.species = static_cast<species_type>(unmarshallByte(th));