diff options
author | Adam Borowski <kilobyte@angband.pl> | 2009-11-25 00:16:50 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2009-11-25 01:21:00 +0100 |
commit | 21ec471851d2c9d29b8b5059ef45902e37baa28c (patch) | |
tree | 90fce1110c6c7c42d8bacc04d77471d9e6d84b5f /crawl-ref/source/files.cc | |
parent | fb479a5a369d4ada263f277930741cff715593d4 (diff) | |
download | crawl-ref-21ec471851d2c9d29b8b5059ef45902e37baa28c.tar.gz crawl-ref-21ec471851d2c9d29b8b5059ef45902e37baa28c.zip |
Remove a save compat hack for major tag 6 (we're in tag 8 already).
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 605284cde0..ce60021285 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -2090,9 +2090,6 @@ bool apply_to_all_dungeons(bool (*applicator)()) return (success); } -// XXX: Minor version renumbering hack. -bool _minor_renumbering_correction = false; - static bool _get_and_validate_version(FILE *restoreFile, char &major, char &minor, std::string* reason) { @@ -2127,21 +2124,6 @@ static bool _get_and_validate_version(FILE *restoreFile, char &major, return (false); } - // XXX: Temporary hack to avoid breaking savefile compatibility because - // of simply renumbering the minor-versions. Should be removed before - // 0.6 is released. 16 is the minor version which was introduced when - // the major version was bumped from 5 to 6. - COMPILE_CHECK(TAG_MINOR_VERSION < 16, c1); - if (minor >= 16) - { - mprf(MSGCH_WARN, - "Savefile minor version being changed from %d to %d " - "because of renumbering of minor versions after removing " - "0.5 minor versions.", minor, minor - 16); - minor -= 16; - _minor_renumbering_correction = true; - } - if (minor > TAG_MINOR_VERSION) { *reason = make_stringf("Minor version mismatch: %d (want <= %d).", |