summaryrefslogtreecommitdiff
path: root/src/win32.cpp
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2007-09-15 15:21:17 +0000
committerglx <glx@openttd.org>2007-09-15 15:21:17 +0000
commit7d551bae1b5d7f07fe8c046e09da7158a157c0e6 (patch)
treec23da3f34ef11077499a71051723179bcf465cfa /src/win32.cpp
parent99f7432b02e7eb6246f404390d8a8ffd8a5c567b (diff)
downloadopenttd-7d551bae1b5d7f07fe8c046e09da7158a157c0e6.tar.xz
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
Diffstat (limited to 'src/win32.cpp')
-rw-r--r--src/win32.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/win32.cpp b/src/win32.cpp
index e6106cad0..14ae640f1 100644
--- a/src/win32.cpp
+++ b/src/win32.cpp
@@ -1031,6 +1031,7 @@ char *getcwd(char *buf, size_t size)
void DetermineBasePaths(const char *exe)
{
+ extern void ScanForTarFiles();
char tmp[MAX_PATH];
TCHAR path[MAX_PATH];
#ifdef WITH_PERSONAL_DIR
@@ -1076,6 +1077,8 @@ void DetermineBasePaths(const char *exe)
_searchpaths[SP_INSTALLATION_DIR] = NULL;
_searchpaths[SP_APPLICATION_BUNDLE_DIR] = NULL;
+
+ ScanForTarFiles();
}
/**