diff options
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index caa83181df..dc0932e8d5 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -996,6 +996,9 @@ static void tag_construct_you(writer &th) marshallShort(th, you.transit_stair); marshallByte(th, you.entering_level); + // lava_in_sight and water_in_sight don't need to be saved as they can + // be recalculated on game start + // List of currently beholding monsters (usually empty). marshallByte(th, you.beheld_by.size()); for (unsigned int k = 0; k < you.beheld_by.size(); k++) @@ -1383,6 +1386,9 @@ static void tag_read_you(reader &th, char minorVersion) you.transit_stair = static_cast<dungeon_feature_type>(unmarshallShort(th)); you.entering_level = unmarshallByte(th); + // These two need not be saved. + you.lava_in_sight = false; + you.water_in_sight = false; // List of currently beholding monsters (usually empty). count_c = unmarshallByte(th); |