summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-16 01:39:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-16 02:24:22 +0300
commit654285675ececa142877d86e6f730d040625fc6e (patch)
treec57e7d21a3b61acd2e1a179152dcb909ce1ececa /src/main.cpp
parent103aa3f43e457ebfcd32fe5ea4624539dd32978d (diff)
downloadmv-654285675ececa142877d86e6f730d040625fc6e.tar.gz
mv-654285675ececa142877d86e6f730d040625fc6e.tar.bz2
mv-654285675ececa142877d86e6f730d040625fc6e.tar.xz
mv-654285675ececa142877d86e6f730d040625fc6e.zip
Add dataPath to branding.
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();
}