diff options
author | yexo <yexo@openttd.org> | 2010-07-03 13:28:15 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-07-03 13:28:15 +0000 |
commit | 258ca288197f60cfec79af7ea3a27805e6147c18 (patch) | |
tree | f3bd2c6f039f3f5545da9acc669e64fa4f676117 /src/fileio.cpp | |
parent | d1044c036a1321d377dfe0a79ed5d39888bfd3d1 (diff) | |
download | openttd-258ca288197f60cfec79af7ea3a27805e6147c18.tar.xz |
(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r-- | src/fileio.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index dcaa8309e..9f946c731 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -998,6 +998,8 @@ void DeterminePaths(const char *exe) _highscore_file = str_fmt("%shs.dat", _personal_dir); _log_file = str_fmt("%sopenttd.log", _personal_dir); + extern char *_hotkeys_file; + _hotkeys_file = str_fmt("%shotkeys.cfg", _personal_dir); /* Make the necessary folders */ #if !defined(__MORPHOS__) && !defined(__AMIGA__) && defined(WITH_PERSONAL_DIR) |