From 30ea9ca03a5ccd617d9c6c1e07c3db38b0209402 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 23 Jun 2013 20:59:29 +0300 Subject: Fix loading features.xml --- src/client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2