Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -32,7 +32,7 @@ DWORD XGetLanguage()
|
||||
|
||||
WCHAR wchLocaleName[LOCALE_NAME_MAX_LENGTH];
|
||||
GetUserDefaultLocaleName(wchLocaleName,LOCALE_NAME_MAX_LENGTH);
|
||||
eMCLang eLang=static_cast<eMCLang>(app.get_eMCLang(wchLocaleName));
|
||||
eMCLang eLang=(eMCLang)app.get_eMCLang(wchLocaleName);
|
||||
|
||||
#ifdef _DEBUG
|
||||
app.DebugPrintf("XGetLanguage() ==> '%ls'\n", wchLocaleName);
|
||||
|
||||
Reference in New Issue
Block a user