aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-19 16:01:16 +0000
committerMartin Kiewitz2010-07-19 16:01:16 +0000
commitf4a5714477725b7e3016dd1271f65ee7aac0d91f (patch)
treee25485530a5753dfc64f94cc86a5e17ba0c3fe9d
parent95ae668da0399c9cd89bb03d42bdea83eb8829f9 (diff)
downloadscummvm-rg350-f4a5714477725b7e3016dd1271f65ee7aac0d91f.tar.gz
scummvm-rg350-f4a5714477725b7e3016dd1271f65ee7aac0d91f.tar.bz2
scummvm-rg350-f4a5714477725b7e3016dd1271f65ee7aac0d91f.zip
SCI: make sci0 foreign vocabulary also work
makes pq2 load japanese vocabulary too svn-id: r51033
-rw-r--r--engines/sci/parser/vocabulary.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/parser/vocabulary.cpp b/engines/sci/parser/vocabulary.cpp
index b4bd4dcb16..a266ba74c1 100644
--- a/engines/sci/parser/vocabulary.cpp
+++ b/engines/sci/parser/vocabulary.cpp
@@ -55,11 +55,11 @@ Vocabulary::Vocabulary(ResourceManager *resMan, bool foreign) : _resMan(resMan),
_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()) {