[Scummvm-cvs-logs] SF.net SVN: scummvm:[47795] scummvm/trunk/engines/sci/engine/state.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Feb 1 14:27:21 CET 2010


Revision: 47795
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47795&view=rev
Author:   m_kiewitz
Date:     2010-02-01 13:27:20 +0000 (Mon, 01 Feb 2010)

Log Message:
-----------
SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/state.cpp

Modified: scummvm/trunk/engines/sci/engine/state.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/state.cpp	2010-02-01 11:53:54 UTC (rev 47794)
+++ scummvm/trunk/engines/sci/engine/state.cpp	2010-02-01 13:27:20 UTC (rev 47795)
@@ -162,7 +162,7 @@
 	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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list