Bug fix for processing data paths in OpenMW Launcher.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
actorid
Lukasz Gromanowski 13 years ago
parent 771d50fe69
commit c9a1789db8

@ -188,8 +188,7 @@ void DataFilesPage::setupDataFiles()
// Put the paths in a boost::filesystem vector to use with Files::Collections
Files::PathContainer dataDirs(variables["data"].as<Files::PathContainer>());
mCfgMgr.processPaths(dataDirs);
std::string local(variables["data-local"].as<std::string>());
if (!local.empty())
{
@ -201,6 +200,8 @@ void DataFilesPage::setupDataFiles()
dataDirs.push_back(mCfgMgr.getLocalPath());
}
mCfgMgr.processPaths(dataDirs);
// Create a file collection for the dataDirs
Files::Collections fileCollections(dataDirs, !variables["fs-strict"].as<bool>());

Loading…
Cancel
Save