Changed: If --config is specified on command-line, we shouldn't check client_default.cfg in current directory

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent b262c90fdb
commit 13f5347ee4

@ -201,7 +201,7 @@ int main(int argc, char **argv)
LoginShardId = std::numeric_limits<uint32>::max();
// if client_default.cfg is not in current directory, use application default directory
if (!CFile::isExists("client_default.cfg"))
if (Args.haveArg("c") || !CFile::isExists("client_default.cfg"))
{
std::string currentPath = CPath::getApplicationDirectory("Ryzom");

Loading…
Cancel
Save