1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

Bug fix for processing data paths in OpenMW Launcher.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
This commit is contained in:
Lukasz Gromanowski 2012-02-25 10:20:42 +01:00
parent 771d50fe69
commit c9a1789db8

View file

@ -188,7 +188,6 @@ 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>());