mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(client): register useEnglishAudio var in InitializeGlobal
This commit is contained in:
parent
5b9950c594
commit
84195691c6
@ -224,7 +224,8 @@ int32_t InitializeGlobal() {
|
||||
auto localeVar = CVar::Register(
|
||||
"locale",
|
||||
"Set the game locale",
|
||||
0x0, "****",
|
||||
0x0,
|
||||
"****",
|
||||
&LocaleChangedCallback,
|
||||
DEFAULT,
|
||||
false,
|
||||
@ -236,7 +237,17 @@ int32_t InitializeGlobal() {
|
||||
localeVar->Set("enUS", true, false, false, true);
|
||||
}
|
||||
|
||||
// CVar::Register("useEnglishAudio", "override the locale and use English audio", 0, "0", 0, 5, 0, 0, 0);
|
||||
CVar::Register(
|
||||
"useEnglishAudio",
|
||||
"override the locale and use English audio",
|
||||
0x0,
|
||||
"0",
|
||||
nullptr,
|
||||
DEFAULT,
|
||||
false,
|
||||
nullptr,
|
||||
false
|
||||
);
|
||||
|
||||
// if (sub_422140()) {
|
||||
// sub_4036B0(v24, 0, a2, (int)v2, (char)v24);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user