(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.
This commit is contained in:
rubidium
2009-03-04 23:12:15 +00:00
parent 89fc2b2b08
commit 8a6f72d26a
2 changed files with 53 additions and 11 deletions

View File

@@ -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++) {