diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 10:59:26 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-07-19 10:59:26 +0000 |
commit | fae235b09c5fc363f998571caad3c6944576915e (patch) | |
tree | 165449a8670a68e426154c13e9fa406857ebecba /crawl-ref/source/tags.cc | |
parent | bbb205e0b5f4c9a8ed70f842770e5ed46e7985c3 (diff) | |
download | crawl-ref-fae235b09c5fc363f998571caad3c6944576915e.tar.gz crawl-ref-fae235b09c5fc363f998571caad3c6944576915e.zip |
* Open Zot for good the first time you enter (with three runes or more).
* Add tiles for Zot entrance (both closed and open).
* Apply zebez' patch 2823787 to make Magic Mapping show altars/gates.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10303 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r-- | crawl-ref/source/tags.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc index 1ec80784d6..cb460903fb 100644 --- a/crawl-ref/source/tags.cc +++ b/crawl-ref/source/tags.cc @@ -836,6 +836,7 @@ static void tag_construct_you(writer &th) marshallByte(th, you.max_level); marshallByte(th, you.where_are_you); marshallByte(th, you.char_direction); + marshallByte(th, you.opened_zot); marshallByte(th, you.your_level); marshallByte(th, you.is_undead); marshallShort(th, you.unrand_reacts); @@ -1251,6 +1252,9 @@ static void tag_read_you(reader &th, char minorVersion) you.max_level = unmarshallByte(th); you.where_are_you = static_cast<branch_type>( unmarshallByte(th) ); you.char_direction = static_cast<game_direction_type>(unmarshallByte(th)); + if (minorVersion >= TAG_MINOR_ZOT_OPEN) + you.opened_zot = (bool) unmarshallByte(th); + you.your_level = unmarshallByte(th); you.is_undead = static_cast<undead_state_type>(unmarshallByte(th)); you.unrand_reacts = unmarshallShort(th); |