summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-01 13:27:00 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-01 21:33:36 +0300
commit748b2dc257650d9ff6e740496802cb977227bc21 (patch)
tree8b609eebf4b0733d5f0ccb5586d9c1999afba846 /src/client.cpp
parente8ce245e0bbb87bc45d15b9f0eb8bf423373d203 (diff)
downloadmv-748b2dc257650d9ff6e740496802cb977227bc21.tar.gz
mv-748b2dc257650d9ff6e740496802cb977227bc21.tar.bz2
mv-748b2dc257650d9ff6e740496802cb977227bc21.tar.xz
mv-748b2dc257650d9ff6e740496802cb977227bc21.zip
move package directory variable from client into paths.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
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