From db915888459efb46775299c84e0a78ffa23e6076 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 4 Apr 2007 12:03:10 +0000 Subject: (svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching. -Codechange: do not add duplicate files to the newgrf list. --- src/win32.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/win32.cpp') 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(MAX_PATH); + _paths.second_data_dir = NULL; #if defined(UNICODE) TCHAR path[MAX_PATH]; GetCurrentDirectory(MAX_PATH - 1, path); -- cgit v1.2.3-54-g00ecf