summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-03-04 23:12:15 +0000
committerrubidium <rubidium@openttd.org>2009-03-04 23:12:15 +0000
commit15e9fdd47af44f5053da3ee48bfc928696ac589c (patch)
tree82133889a8add5299bf962e3c8a5713a570f8e85 /src/fileio.cpp
parentffe2caf20f12f70dfc3b8b552ce2ee44ec2e477d (diff)
downloadopenttd-15e9fdd47af44f5053da3ee48bfc928696ac589c.tar.xz
(svn r15615) -Feature: show scenarios/heightmaps from both your home directory and installation directory.
-Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
Diffstat (limited to 'src/fileio.cpp')
-rw-r--r--src/fileio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp
index 2c177f648..32ad5c2fc 100644
--- a/src/fileio.cpp
+++ b/src/fileio.cpp
@@ -941,7 +941,7 @@ void DeterminePaths(const char *exe)
#endif
static const Subdirectory default_subdirs[] = {
- SAVE_DIR, AUTOSAVE_DIR
+ SAVE_DIR, AUTOSAVE_DIR, SCENARIO_DIR, HEIGHTMAP_DIR
};
for (uint i = 0; i < lengthof(default_subdirs); i++) {