diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-01 13:27:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-01 21:33:36 +0300 |
commit | 748b2dc257650d9ff6e740496802cb977227bc21 (patch) | |
tree | 8b609eebf4b0733d5f0ccb5586d9c1999afba846 /src/client.cpp | |
parent | e8ce245e0bbb87bc45d15b9f0eb8bf423373d203 (diff) | |
download | plus-748b2dc257650d9ff6e740496802cb977227bc21.tar.gz plus-748b2dc257650d9ff6e740496802cb977227bc21.tar.bz2 plus-748b2dc257650d9ff6e740496802cb977227bc21.tar.xz plus-748b2dc257650d9ff6e740496802cb977227bc21.zip |
move package directory variable from client into paths.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index dd5b06776..130ddcc80 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -278,7 +278,6 @@ class LoginListener final : public gcn::ActionListener Client::Client(const Options &options) : gcn::ActionListener(), mOptions(options), - mPackageDir(), mConfigDir(), mServerConfigDir(), mLocalDataDir(), @@ -548,7 +547,7 @@ void Client::gameInit() // mPackageDir = path; #endif resman->addToSearchPath(PKG_DATADIR "data", false); - mPackageDir = PKG_DATADIR "data"; + setPackageDir(PKG_DATADIR "data"); resman->addToSearchPath("data", false); #ifdef ANDROID |