Add client_d.cfg so we can .include custom 'debug.cfg' that only the debug client can use.

This commit is contained in:
Erusman
2021-09-07 20:08:23 -07:00
parent 0187778dce
commit c643d7979d

View File

@@ -157,7 +157,11 @@ int ClientMain(
data.windowSmallIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON2));
data.hInstance = hInstance;
data.commandLine = lpCmdLine;
#if DEBUG_LEVEL DEBUG_LEVEL_DEBUG
data.configFile = "client_d.cfg";
#else
data.configFile = "client.cfg";
#endif
data.clockUsesSleep = true;
data.minFrameRate = 1.f;
data.frameRateLimit = 144.f;
@@ -165,7 +169,7 @@ int ClientMain(
data.demoMode = true;
#endif
data.writeMiniDumps = true; // SWG Source Change - Just always write crash log .txt files, there's no reason not to
SetupSharedFoundation::install(data);
REPORT_LOG(true, ("ClientMain: Command Line = \"%s\"\n", lpCmdLine));