summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.cc
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2014-05-13 00:37:44 -0400
committerNeil Moore <neil@s-z.org>2014-05-13 00:37:44 -0400
commit736f644b2f7558bed0b72838afc476592aa41a88 (patch)
tree7fdce08eca7b738853b4ea9b4c0e500a48e0af7d /crawl-ref/source/files.cc
parentee78884211beef838e019cbba952b2880d7ec505 (diff)
downloadcrawl-ref-736f644b2f7558bed0b72838afc476592aa41a88.tar.gz
crawl-ref-736f644b2f7558bed0b72838afc476592aa41a88.zip
Actually use old bone files when we find them.
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r--crawl-ref/source/files.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc
index 252407918b..00fd66c4ae 100644
--- a/crawl-ref/source/files.cc
+++ b/crawl-ref/source/files.cc
@@ -1769,7 +1769,10 @@ static vector<string> _list_bones()
string old_bonefile = _get_old_bonefile_directory() + base_filename;
if (access(old_bonefile.c_str(), F_OK) == 0)
+ {
dprf("Found old bonefile %s", old_bonefile.c_str());
+ bonefiles.push_back(old_bonefile);
+ }
return bonefiles;
}