diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-04-29 16:29:42 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-04-29 21:41:03 +0200 |
commit | d5ef3a3e122247068fde8424131dd26c8c54e519 (patch) | |
tree | f0082ccfd30dd1df1ff6d4817e625874267f27ee /crawl-ref/source/files.h | |
parent | 53ad5ca12adb55b902c9269b1edbf67f8d440fbe (diff) | |
download | crawl-ref-d5ef3a3e122247068fde8424131dd26c8c54e519.tar.gz crawl-ref-d5ef3a3e122247068fde8424131dd26c8c54e519.zip |
Properly handle saves whose name doesn't match the character.
Before, they would show up but start a new game after choosing them.
Diffstat (limited to 'crawl-ref/source/files.h')
-rw-r--r-- | crawl-ref/source/files.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/files.h b/crawl-ref/source/files.h index 2a71458d25..b52aee48b2 100644 --- a/crawl-ref/source/files.h +++ b/crawl-ref/source/files.h @@ -104,8 +104,8 @@ void save_game_state(); bool get_save_version(reader &file, int &major, int &minor); -bool save_exists(const std::string& name); -bool restore_game(const std::string& name); +bool save_exists(const std::string& filename); +bool restore_game(const std::string& filename); bool is_existing_level(const level_id &level); |