From e903323165daa65a5d646f0c061de9d60177b88a Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 2 Dec 2009 16:34:51 +0100 Subject: Get rid of you.synch_time. Also, the check for whether to do the corresponding effects has been moved into effects.cc:handle_time. --- crawl-ref/source/tags.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/tags.cc') diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 5b04041c53..79af67c505 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -965,7 +965,6 @@ static void tag_construct_you(writer &th) marshallString(th, you.level_type_ext); marshallByte(th, you.entry_cause); marshallByte(th, you.entry_cause_god); - marshallByte(th, you.synch_time); marshallLong(th, you.disease); marshallByte(th, you.species); @@ -1389,7 +1388,8 @@ static void tag_read_you(reader &th, char minorVersion) you.entry_cause = static_cast( unmarshallByte(th) ); you.entry_cause_god = static_cast( unmarshallByte(th) ); - you.synch_time = unmarshallByte(th); + if (minorVersion < TAG_MINOR_SYNCH_TIME) + unmarshallByte(th); if (minorVersion >= TAG_MINOR_DISEASE) you.disease = unmarshallLong(th); else -- cgit v1.2.3-54-g00ecf