From 1b344d78ed5773993094ebbb7f524d339ac16450 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 13 Feb 2016 23:36:22 +0100 Subject: [PATCH] Changed: If --config is specified on command-line, we shouldn't check client_default.cfg in current directory --- code/ryzom/client/src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index eabb1511c..5ca1ef4b4 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -201,7 +201,7 @@ int main(int argc, char **argv) LoginShardId = std::numeric_limits::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");