changed the client configuration initialisation

This commit is contained in:
oy 2010-08-06 20:47:45 +02:00
parent 49cefa406b
commit 3c082b6441

View file

@ -2017,6 +2017,9 @@ int main(int argc, const char **argv) // ignore_convention
// init client's interfaces
m_Client.InitInterfaces();
// execute config file
pConsole->ExecuteFile("settings.cfg");
// execute autoexec file
pConsole->ExecuteFile("autoexec.cfg");
@ -2024,9 +2027,6 @@ int main(int argc, const char **argv) // ignore_convention
if(argc > 1) // ignore_convention
pConsole->ParseArguments(argc-1, &argv[1]); // ignore_convention
// execute config file
pConsole->ExecuteFile("settings.cfg");
m_Client.Engine()->InitLogfile();
// run the client