From 1cde96ef79a8418a9c34f355ec49d08f1e654213 Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 11 Aug 2010 00:31:42 +0200 Subject: restore empty strings in the config to their defaults on startup --- src/engine/client/client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/engine/client/client.cpp') diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 03f31770..78bed263 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -2031,6 +2031,9 @@ int main(int argc, const char **argv) // ignore_convention if(argc > 1) // ignore_convention pConsole->ParseArguments(argc-1, &argv[1]); // ignore_convention + // restore empty config strings to their defaults + pConfig->RestoreStrings(); + m_Client.Engine()->InitLogfile(); // run the client -- cgit 1.4.1