SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn
svn-id: r47795
This commit is contained in:
parent
80abaab1ae
commit
097b45db21
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ kLanguage EngineState::getLanguage() {
|
||||||
if (_kernel->_selectorCache.printLang != -1) {
|
if (_kernel->_selectorCache.printLang != -1) {
|
||||||
lang = (kLanguage)GET_SEL32V(_segMan, _gameObj, printLang);
|
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.
|
// 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
|
// SSCI reads this from resource.cfg (early games do not have a language
|
||||||
// setting in resource.cfg, but instead have the secondary language number
|
// setting in resource.cfg, but instead have the secondary language number
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue