diff options
author | rubidium <rubidium@openttd.org> | 2007-04-04 12:03:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-04-04 12:03:10 +0000 |
commit | db915888459efb46775299c84e0a78ffa23e6076 (patch) | |
tree | c43d134ecdffb49cfa20069d19250e6a2d89b769 /src/win32.cpp | |
parent | a1b7fb8909cae096e6b3277ee2c0fb35f3b5e81d (diff) | |
download | openttd-db915888459efb46775299c84e0a78ffa23e6076.tar.xz |
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
-Codechange: do not add duplicate files to the newgrf list.
Diffstat (limited to 'src/win32.cpp')
-rw-r--r-- | src/win32.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32.cpp b/src/win32.cpp index 19f465d31..45a3489bc 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -946,6 +946,7 @@ void GetCurrentDirectoryW(int length, wchar_t *path) void DetermineBasePaths(const char *exe) { _paths.personal_dir = _paths.game_data_dir = MallocT<char>(MAX_PATH); + _paths.second_data_dir = NULL; #if defined(UNICODE) TCHAR path[MAX_PATH]; GetCurrentDirectory(MAX_PATH - 1, path); |