diff options
Diffstat (limited to 'crawl-ref/source/files.cc')
-rw-r--r-- | crawl-ref/source/files.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/files.cc b/crawl-ref/source/files.cc index 20a0a93579..b428ea85b1 100644 --- a/crawl-ref/source/files.cc +++ b/crawl-ref/source/files.cc @@ -547,7 +547,12 @@ std::string get_savedir_filename(const std::string &prefix, std::string get_prefs_filename() { +#ifdef DGL_STARTUP_PREFS_BY_NAME + return get_savedir_filename("start-" + Options.player_name + "-", + "ns", "prf", true); +#else return get_savedir_filename("start", "ns", "prf"); +#endif } static std::string get_level_suffix(int level, branch_type where, |