aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/sci.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp
index 4728578e16..ba2779e84d 100644
--- a/engines/sci/sci.cpp
+++ b/engines/sci/sci.cpp
@@ -237,6 +237,17 @@ Common::Error SciEngine::run() {
debug("Emulating SCI version %s\n", getSciVersionDesc(getSciVersion()));
+ if (_gameDescription->flags & ADGF_ADDENGLISH) {
+ // if game is multilingual
+ if (getLanguage() == Common::EN_ANY) {
+ // and english was selected as language
+ if (SELECTOR(printLang) != -1) // set text language to english
+ writeSelectorValue(segMan, _gameObj, SELECTOR(printLang), 1);
+ if (SELECTOR(parseLang) != -1) // and set parser language to english as well
+ writeSelectorValue(segMan, _gameObj, SELECTOR(parseLang), 1);
+ }
+ }
+
// Check whether loading a savestate was requested
int saveSlot = ConfMan.getInt("save_slot");
if (saveSlot >= 0) {