aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-01 13:27:20 +0000
committerMartin Kiewitz2010-02-01 13:27:20 +0000
commit097b45db21cfffeb5e9acd5f6bbdfd90fd5b5cfd (patch)
treeddeae9f55e5ddf1a43d73b3eb57e011905345a84 /engines/sci
parent80abaab1ae2a4d2039c6fd8ed19cf9f4bbc47864 (diff)
downloadscummvm-rg350-097b45db21cfffeb5e9acd5f6bbdfd90fd5b5cfd.tar.gz
scummvm-rg350-097b45db21cfffeb5e9acd5f6bbdfd90fd5b5cfd.tar.bz2
scummvm-rg350-097b45db21cfffeb5e9acd5f6bbdfd90fd5b5cfd.zip
SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn
svn-id: r47795
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/state.cpp b/engines/sci/engine/state.cpp
index 003043b8ca..2936097696 100644
--- a/engines/sci/engine/state.cpp
+++ b/engines/sci/engine/state.cpp
@@ -162,7 +162,7 @@ kLanguage EngineState::getLanguage() {
if (_kernel->_selectorCache.printLang != -1) {
lang = (kLanguage)GET_SEL32V(_segMan, _gameObj, printLang);
- if ((getSciVersion() == SCI_VERSION_1_1) || (lang == K_LANG_NONE)) {
+ if ((getSciVersion() >= SCI_VERSION_1_1) || (lang == K_LANG_NONE)) {
// If language is set to none, we use the language from the game detector.
// SSCI reads this from resource.cfg (early games do not have a language
// setting in resource.cfg, but instead have the secondary language number