summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame_def.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-04-29 16:29:42 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-04-29 21:41:03 +0200
commitd5ef3a3e122247068fde8424131dd26c8c54e519 (patch)
treef0082ccfd30dd1df1ff6d4817e625874267f27ee /crawl-ref/source/newgame_def.h
parent53ad5ca12adb55b902c9269b1edbf67f8d440fbe (diff)
downloadcrawl-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/newgame_def.h')
-rw-r--r--crawl-ref/source/newgame_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/newgame_def.h b/crawl-ref/source/newgame_def.h
index 91b84aaff8..36761df8eb 100644
--- a/crawl-ref/source/newgame_def.h
+++ b/crawl-ref/source/newgame_def.h
@@ -34,6 +34,7 @@ struct newgame_def
{
std::string name;
game_type type;
+ std::string filename;
// map name for sprint (or others in the future)
// XXX: "random" means a random eligible map