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.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index 071398da15..b494a0031d 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -846,6 +846,7 @@ static void tag_construct_you(writer &th)
marshallString(th, you.level_type_name_abbrev);
marshallString(th, you.level_type_origin);
marshallString(th, you.level_type_tag);
+ marshallString(th, you.level_type_ext);
marshallByte(th, you.entry_cause);
marshallByte(th, you.entry_cause_god);
marshallByte(th, you.synch_time);
@@ -1264,6 +1265,9 @@ static void tag_read_you(reader &th, char minorVersion)
you.level_type_name_abbrev = unmarshallString(th);
you.level_type_origin = unmarshallString(th);
you.level_type_tag = unmarshallString(th);
+
+ if (minorVersion >= TAG_MINOR_PORTEXT)
+ you.level_type_ext = unmarshallString(th);
}
you.entry_cause = static_cast<entry_cause_type>( unmarshallByte(th) );