summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/files.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-04-29 15:23:56 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-04-29 21:41:03 +0200
commit53ad5ca12adb55b902c9269b1edbf67f8d440fbe (patch)
tree0bcb720cce7f315493af8212d5e7d918848fe9a6 /crawl-ref/source/files.h
parent70564e22346bb2e72bc79ded53de08c4bde24055 (diff)
downloadcrawl-ref-53ad5ca12adb55b902c9269b1edbf67f8d440fbe.tar.gz
crawl-ref-53ad5ca12adb55b902c9269b1edbf67f8d440fbe.zip
Offer to delete incompatible saves.
Declining this question currently exits, which is suboptimal. It should be probably merged with any other error when loading a game, though.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r--crawl-ref/source/files.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h
index d9c830a67d..2a71458d25 100644
--- a/crawl-ref/source/files.h
+++ b/crawl-ref/source/files.h
@@ -105,7 +105,7 @@ void save_game_state();
bool get_save_version(reader &file, int &major, int &minor);
bool save_exists(const std::string& name);
-void restore_game(const std::string& name);
+bool restore_game(const std::string& name);
bool is_existing_level(const level_id &level);