diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp index e5de2effe..1eb5363a3 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -363,10 +363,13 @@ void Client::gameInit() // Add the main data directories to our PhysicsFS search path if (!settings.options.dataPath.empty()) - resourceManager->addToSearchPath(settings.options.dataPath, false); + { + resourceManager->addToSearchPath(settings.options.dataPath, + Append_false); + } // Add the local data directory to PhysicsFS search path - resourceManager->addToSearchPath(settings.localDataDir, false); + resourceManager->addToSearchPath(settings.localDataDir, Append_false); TranslationManager::loadCurrentLang(); WindowManager::initTitle(); @@ -1214,7 +1217,7 @@ int Client::gameExec() resourceManager->searchAndAddArchives( "customdata/", "zip", - false); + Append_false); } if (!settings.options.skipUpdate) @@ -1222,14 +1225,14 @@ int Client::gameExec() resourceManager->searchAndAddArchives( settings.updatesDir + "/local/", "zip", - false); + Append_false); resourceManager->addToSearchPath( settings.localDataDir + dirSeparator + settings.updatesDir + "/local/", - false); + Append_false); } logger->log("Init paths"); |