diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-12-08 20:01:36 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-01-26 00:40:18 +0100 |
commit | 35673f843b19d211fb492608a273e56671cdc18b (patch) | |
tree | 48897bdb515e358dc737aae98b931fd24c3093f6 /crawl-ref/source/branch.cc | |
parent | 3618f7815284163bd5c1f73f388dba0e83a95268 (diff) | |
download | crawl-ref-35673f843b19d211fb492608a273e56671cdc18b.tar.gz crawl-ref-35673f843b19d211fb492608a273e56671cdc18b.zip |
Restore save compatibility with 0.11 final.
This does not include trunk versions older than some time after 0.11
branching, although you can upgrade such saves in two steps, by loading in
0.11 and then in current trunk. I doubt this will lead to any troubles
as 0.10 saves are not compatible anyway.
Diffstat (limited to 'crawl-ref/source/branch.cc')
-rw-r--r-- | crawl-ref/source/branch.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/branch.cc b/crawl-ref/source/branch.cc index 8171a84084..4f06c71e92 100644 --- a/crawl-ref/source/branch.cc +++ b/crawl-ref/source/branch.cc @@ -80,5 +80,9 @@ branch_type get_branch_at(const coord_def& pos) bool branch_is_unfinished(branch_type branch) { +#if TAG_MAJOR_VERSION == 34 + if (branch == BRANCH_UNUSED) + return true; +#endif return branch == BRANCH_FOREST || branch == BRANCH_DWARVEN_HALL; } |