|
|
@ -65,7 +65,7 @@ bool CProjectConfig::init(const std::string &asset, Flags flags, bool partial)
|
|
|
|
TPathString configPath = rootPath + "/nel.cfg";
|
|
|
|
TPathString configPath = rootPath + "/nel.cfg";
|
|
|
|
while (!CFile::fileExists(configPath))
|
|
|
|
while (!CFile::fileExists(configPath))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
int sep = CFile::getLastSeparator(rootPath);
|
|
|
|
std::string::size_type sep = CFile::getLastSeparator(rootPath);
|
|
|
|
if (sep == string::npos)
|
|
|
|
if (sep == string::npos)
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
|
@ -82,7 +82,7 @@ bool CProjectConfig::init(const std::string &asset, Flags flags, bool partial)
|
|
|
|
|
|
|
|
|
|
|
|
std::vector<TPathString> configRootPaths;
|
|
|
|
std::vector<TPathString> configRootPaths;
|
|
|
|
TPathString projectConfigPath;
|
|
|
|
TPathString projectConfigPath;
|
|
|
|
uint32 projectConfigModification;
|
|
|
|
uint32 projectConfigModification = 0;
|
|
|
|
std::string projectName;
|
|
|
|
std::string projectName;
|
|
|
|
if (partial)
|
|
|
|
if (partial)
|
|
|
|
{
|
|
|
|
{
|
|
|
|