diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-08-19 19:59:56 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-08-19 20:03:17 +0200 |
commit | ed9563133047e307b2700fa565ddd297372f9fa5 (patch) | |
tree | eb4ccb96bf4db9db273d65f4a80e3295d1ffc7cb /crawl-ref/source/quiver.cc | |
parent | c5ec0f40796ef09463c124d3645e7b718833923b (diff) | |
download | crawl-ref-ed9563133047e307b2700fa565ddd297372f9fa5.tar.gz crawl-ref-ed9563133047e307b2700fa565ddd297372f9fa5.zip |
Bump save compat, in order to recover from monster_spells.
The problematic spells happen to be the same that add a massive number of
enchantments and alter save structure, adding save compat for those would
require a lot of work and be risky.
Thus, it's easier to rewind, and then re-apply parts that we do want to
keep.
Diffstat (limited to 'crawl-ref/source/quiver.cc')
-rw-r--r-- | crawl-ref/source/quiver.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/crawl-ref/source/quiver.cc b/crawl-ref/source/quiver.cc index b859b06c59..cda35acfa2 100644 --- a/crawl-ref/source/quiver.cc +++ b/crawl-ref/source/quiver.cc @@ -491,15 +491,7 @@ void player_quiver::load(reader& inf) ASSERT(count <= ARRAYSZ(m_last_used_of_type)); for (unsigned int i = 0; i < count; i++) - { unmarshallItem(inf, m_last_used_of_type[i]); -#if TAG_MAJOR_VERSION == 33 - // We haven't always been so careful about making sure this was - // either OBJ_UNASSIGNED or valid. - if (m_last_used_of_type[i].quantity == 0) - m_last_used_of_type[i].base_type = OBJ_UNASSIGNED; -#endif - } } // ---------------------------------------------------------------------- |