From 8f992159f235749f471fff1cf7122a0b1b0babdb Mon Sep 17 00:00:00 2001 From: fallenoak Date: Tue, 30 Sep 2025 15:29:39 -0500 Subject: [PATCH] feat(client): call ClientServices::InitLoginServerCVars during initialization --- src/client/Client.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index cc590d8..2de4b64 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -163,6 +163,18 @@ int32_t InitializeEngineCallback(const void* a1, void* a2) { return 1; } +// TODO name this (maybe something like InitializeLocale?) +void Sub405DD0() { + // TODO + + // TODO get this from the soupy mess of locale checks above + auto locale = "enUS"; + + ClientServices::InitLoginServerCVars(1, locale); + + // TODO +} + int32_t InitializeGlobal() { // TODO @@ -227,7 +239,7 @@ int32_t InitializeGlobal() { // sub_423D70(); - // sub_405DD0(); + Sub405DD0(); // CVar* v3 = CVar::Register( // "processAffinityMask",