[Scummvm-cvs-logs] SF.net SVN: scummvm:[51033] scummvm/trunk/engines/sci/parser/vocabulary.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Jul 19 18:01:16 CEST 2010


Revision: 51033
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51033&view=rev
Author:   m_kiewitz
Date:     2010-07-19 16:01:16 +0000 (Mon, 19 Jul 2010)

Log Message:
-----------
SCI: make sci0 foreign vocabulary also work

makes pq2 load japanese vocabulary too

Modified Paths:
--------------
    scummvm/trunk/engines/sci/parser/vocabulary.cpp

Modified: scummvm/trunk/engines/sci/parser/vocabulary.cpp
===================================================================
--- scummvm/trunk/engines/sci/parser/vocabulary.cpp	2010-07-19 15:32:26 UTC (rev 51032)
+++ scummvm/trunk/engines/sci/parser/vocabulary.cpp	2010-07-19 16:01:16 UTC (rev 51033)
@@ -55,12 +55,12 @@
 		_resourceIdWords = VOCAB_RESOURCE_SCI1_MAIN_VOCAB;
 		_resourceIdSuffixes = VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB;
 		_resourceIdBranches = VOCAB_RESOURCE_SCI1_PARSE_TREE_BRANCHES;
-		if (_foreign) {
-			_resourceIdWords += 10;
-			_resourceIdSuffixes += 10;
-			_resourceIdBranches += 10;
-		}
 	}
+	if (_foreign) {
+		_resourceIdWords += 10;
+		_resourceIdSuffixes += 10;
+		_resourceIdBranches += 10;
+	}
 
 	if (getSciVersion() <= SCI_VERSION_1_EGA && loadParserWords()) {
 		loadSuffixes();


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