summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 0f9b0f217..5f565a091 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -265,6 +265,9 @@ int main(int argc, char *argv[])
initXML();
+#ifdef WIN32
+ SetCurrentDirectory(PHYSFS_getBaseDir());
+#endif
Client client(options);
return client.exec();
}