diff --git a/src/hack.cpp b/src/hack.cpp index 614ad7aa..2b77579b 100644 --- a/src/hack.cpp +++ b/src/hack.cpp @@ -305,6 +305,13 @@ free(logname);*/ logging::Info("Initializing..."); InitRandom(); sharedobj::LoadEarlyObjects(); + +// Fix locale issues caused by steam update +#if ENABLE_TEXTMODE + static BytePatch patch(gSignatures.GetEngineSignature, "74 ? 89 5C 24 ? 8D 9D ? ? ? ? 89 74 24", 0, { 0x71 }); + patch.Patch(); +#endif + CreateEarlyInterfaces(); logging::Info("Clearing Early initializer stack"); while (!init_stack_early().empty())