mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
SCI: Fix regression in r41833.
svn-id: r41834
This commit is contained in:
parent
06144864e1
commit
1d0f4782fc
@ -181,6 +181,10 @@ Common::String EngineState::strSplit(const char *str, const char *sep) {
|
||||
kLanguage lang = (kLanguage)GET_SEL32V(s->game_obj, printLang);
|
||||
kLanguage subLang = (kLanguage)GET_SEL32V(s->game_obj, subtitleLang);
|
||||
|
||||
// Use English when no language settings are present in the game
|
||||
if (lang == K_LANG_NONE)
|
||||
lang = K_LANG_ENGLISH;
|
||||
|
||||
Common::String retval = getLanguageString(str, lang);
|
||||
|
||||
if ((subLang != K_LANG_NONE) && (sep != NULL)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user