diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 1b7f1a1da..38870b50f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -414,12 +414,13 @@ void Client::gameInit() // Add the main data directories to our PhysicsFS search path if (!settings.options.dataPath.empty()) { - resourceManager->addToSearchPath(settings.options.dataPath, + VirtFs::addDirToSearchPath(settings.options.dataPath, Append_false); } // Add the local data directory to PhysicsFS search path - resourceManager->addToSearchPath(settings.localDataDir, Append_false); + VirtFs::addDirToSearchPath(settings.localDataDir, + Append_false); TranslationManager::loadCurrentLang(); #ifdef ENABLE_CUSTOMNLS TranslationManager::loadGettextLang(); @@ -1091,7 +1092,7 @@ int Client::gameExec() "/local/", "zip"); - resourceManager->removeFromSearchPath( + VirtFs::removeDirFromSearchPath( settings.localDataDir + dirSeparator + settings.updatesDir + @@ -1314,7 +1315,7 @@ int Client::gameExec() "zip", Append_false); - resourceManager->addToSearchPath( + VirtFs::addDirToSearchPath( settings.localDataDir + dirSeparator + settings.updatesDir + |