diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-23 20:59:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-23 20:59:29 +0300 |
commit | 30ea9ca03a5ccd617d9c6c1e07c3db38b0209402 (patch) | |
tree | 8550a1606fb98059a2f545f3d9db43a48bd58478 /src | |
parent | 593c59c2a45831082a47076e0f94d533ea5f09c8 (diff) | |
download | plus-30ea9ca03a5ccd617d9c6c1e07c3db38b0209402.tar.gz plus-30ea9ca03a5ccd617d9c6c1e07c3db38b0209402.tar.bz2 plus-30ea9ca03a5ccd617d9c6c1e07c3db38b0209402.tar.xz plus-30ea9ca03a5ccd617d9c6c1e07c3db38b0209402.zip |
Fix loading features.xml
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp index 54c7d06e9..bc470fe1d 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -349,6 +349,7 @@ void Client::gameInit() logger->setLogFile(mLocalDataDir + "/manaplus.log"); initConfiguration(); + paths.setDefaultValues(getPathsDefaults()); initFeatures(); logger->log("init 4"); logger->setDebugLog(config.getBoolValue("debugLog")); @@ -2065,7 +2066,7 @@ void Client::initServerConfig(std::string serverName) void Client::initFeatures() const { features.init(paths.getStringValue("featuresFile"), true); - paths.setDefaultValues(getFeaturesDefaults()); + features.setDefaultValues(getFeaturesDefaults()); } void Client::initConfiguration() const |