1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 07:45:39 +00:00

temporarily disabled multi data path support in OpenMW

This commit is contained in:
Marc Zinnschlag 2012-02-28 09:27:35 +01:00
parent 9a4cd6c2b1
commit 4c2fffdd61
2 changed files with 6 additions and 6 deletions

View file

@ -181,12 +181,15 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
std::string local(variables["data-local"].as<std::string>());
if (!local.empty())
{
dataDirs.push_back(Files::PathContainer::value_type(local));
std::cout << "Ignoring data-local (currently not supported)" << std::endl;
// dataDirs.push_back(Files::PathContainer::value_type(local));
}
if (dataDirs.empty())
if (dataDirs.size()>1)
{
dataDirs.push_back(cfgMgr.getLocalPath());
dataDirs.resize (1);
std::cout << "Ignoring all but the first data path (multiple data paths currently not supported)"
<< std::endl;
}
cfgMgr.processPaths(dataDirs);

View file

@ -1,5 +1,2 @@
data="?mw?Data Files"
data="?global?data"
data="?local?data"
data-local="?user?data"
resources=${MORROWIND_RESOURCE_FILES}