From 15e9fdd47af44f5053da3ee48bfc928696ac589c Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 4 Mar 2009 23:12:15 +0000 Subject: (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. --- src/fileio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fileio.cpp') 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++) { -- cgit v1.2.3-54-g00ecf