From 748b2dc257650d9ff6e740496802cb977227bc21 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Nov 2013 13:27:00 +0300 Subject: move package directory variable from client into paths. --- src/client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client.cpp') 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 -- cgit v1.2.3-70-g09d2