diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-16 01:39:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-16 02:24:22 +0300 |
commit | 654285675ececa142877d86e6f730d040625fc6e (patch) | |
tree | c57e7d21a3b61acd2e1a179152dcb909ce1ececa /src/main.cpp | |
parent | 103aa3f43e457ebfcd32fe5ea4624539dd32978d (diff) | |
download | plus-654285675ececa142877d86e6f730d040625fc6e.tar.gz plus-654285675ececa142877d86e6f730d040625fc6e.tar.bz2 plus-654285675ececa142877d86e6f730d040625fc6e.tar.xz plus-654285675ececa142877d86e6f730d040625fc6e.zip |
Add dataPath to branding.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
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(); } |