mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-26 02:20:54 +00:00
Changed: #1051 Check for client.cfg in Ryzom application directory
This commit is contained in:
parent
f7f6ace84f
commit
ff1de97c98
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
std::string config = "client.cfg";
|
std::string config = "client.cfg";
|
||||||
|
|
||||||
|
// if client.cfg is not in current directory, use client.cfg from user directory
|
||||||
|
if (!CFile::isExists(config))
|
||||||
|
config = CPath::getApplicationDirectory("Ryzom") + config;
|
||||||
|
|
||||||
// if client.cfg is not in current directory, use client_default.cfg
|
// if client.cfg is not in current directory, use client_default.cfg
|
||||||
if (!CFile::isExists(config))
|
if (!CFile::isExists(config))
|
||||||
config = "client_default.cfg";
|
config = "client_default.cfg";
|
||||||
|
|
Loading…
Reference in a new issue