summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc18
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).",